[REBOL] Re: Input timeout
From: mario:cassani:icl at: 11-Jul-2001 17:03
Hi YekSoon,
> > If not possible isn't it a good idea to add this
> > feature?
> >
> > >> ? ask
> > USAGE:
> > ASK question /hide /delay time default
> >
> > DESCRIPTION:
> > Ask the user for input.
> > ASK is a function value.
> >
> > ARGUMENTS:
> > question -- Prompt to user (Type: series)
> >
> > REFINEMENTS:
> > /hide -- mask input with *
> > /delay -- give a maximum timeout and a default
> > "input"
> > time -- (Type: number)
> > default -- (Type: string)
> >
> personally, I would think that these are systems
> function. More of a View calling/manipulating the
> systems functions.
>
That's the idea, as shown by Christophe (merci)
/view has its own system input timeout:
8<----------8<----------8<----------8<----------8<----------
>> ? inform
USAGE:
INFORM panel /offset where /timeout time
DESCRIPTION:
Display an exclusive focus panel for alerts, dialogs, and requestors.
INFORM is a function value.
ARGUMENTS:
panel -- (Type: object)
REFINEMENTS:
/offset
where -- Offset of panel (Type: pair)
/timeout <<<<<<<<<<<<<<<<<
time -- (Type: any)
8<----------
>> ? request
USAGE:
REQUEST str /offset xy /ok /only /confirm /timeout time
DESCRIPTION:
Requests an answer to a simple question.
REQUEST is a function value.
ARGUMENTS:
str -- (Type: string block object none)
REFINEMENTS:
/offset
xy -- (Type: any)
/ok
/only
/confirm
/timeout <<<<<<<<<<<<<<<
time -- (Type: any)
8<----------8<----------8<----------8<----------8<----------
while /core misses them.
It wanted to be a suggestion to add the feature in
/core too.
Nimenhao
Mario