home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
339.lha
/
DispMod
/
Docs
/
GETLINE.doc
< prev
next >
Wrap
Text File
|
1990-02-07
|
824b
|
28 lines
NAME: GETLINE
SYNTAX: GETLINE [prompt string]
DECRIPTION:
Asks for a line of text from the user. If the optional prompt
string is supplied, it will be printed first. Creative use of TEXT,
HTEXT, and CRSR will allow you to be quite creative in how you want
a screen to look when inputting such things as database fields, etc.
The resulting string is returned in RESULT. OPTIONS RESULTS must have
perviously been issued in order for the string to be returned.
EXAMPLE:
CRSR 22 1
GETLINE 'Please enter name: '
SAY RESULT
This example will place the indicated string at row 22, column 1,
and leave the cursor positioned right after it. After the user enters
a string, the command will return, and the SAY RESULT command will
print the resulting string.
SEE ALSO: CRSR, TEXT, HTEXT