Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide To Clipper - <b>accept</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
ACCEPT


Syntax:     ACCEPT [<prompt>] TO <memvar>

Purpose:    To enter a string from the keyboard into a specified memory
            variable.

Argument:   <memvar> is the name of the memory variable where the
            keyboard entry is placed.

Option:     Prompt: The <prompt> is a an expression of any data type
            displayed before the input area.

Usage:      ACCEPT takes entry from the keyboard and places it into a
            newly created character memory variable.  Return confirms
            entry and is the only key that terminates ACCEPT.  If Return
            is the only key pressed, ACCEPT creates the memory variable
            with a null value ("").

            Note that ACCEPT is a wait state.

Library:    CLIPPER.LIB


----------------------------------- Example --------------------------------

   ACCEPT "Enter a value: " TO var


See Also: @...SAY...GET INPUT WAIT INKEY() AcceptAt()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson