[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
WAIT

    WAIT causes all program processing to pause until any key is pressed.

Syntax

    WAIT [<prompt>] [TO <memvarC>]

Options

    Prompt: The <prompt> is a character string WAIT displays if
    specified.  If no <prompt> is specified, the default prompt is
    "Press any key to continue..."

    Memory variable: The TO <memvarC> clause creates the specified
    memory variable that contains the character entered.

Usage

    WAIT returns the character entered into the specified character memory
    variable.  If a non-printable character is entered, WAIT returns zero
    to the character variable.  Function keys are ignored unless assigned
    with SET FUNCTION or SET KEY.

See Also: ACCEPT INPUT
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson