{INTERVAL}

Syntax

{INTERVAL=Seconds}

Argument

Type

Description

Seconds

N

The number of seconds between timer events.

Description

The {INTERVAL} command is used to specify how frequently the timer event fires if a timer event is specified.

Supported By

Alpha Five Version 5 and Above

Limitations

Desktop applications only

Example

dim cnt as N

cnt = 1

ui_modeless_dlg_box("{INTERVAL}",<<%dlg%

{timer=increment}

{interval=.05}

{progress=50cnt}

<close>;

%dlg%,<<%code%

if a_dlg_button = "increment" then

    cnt = cnt + 1

    if cnt = 100 then

        cnt = 1

    end if

end if

if a_dlg_button = "close" then

    ui_modeless_dlg_close("{INTERVAL}")

end if

%code%)

See Also

Xdialog Commands, {TIMER}