FANDOM



This command will accept input data from the keyboard and store the entry in the specified variable.

Syntax
INPUT Print Statements, Input Variable
Parameters
Print Statements

Double Integer
In addition to double integer, this command accepts every other type including real numbers and strings Input Variable Integer
A value between 0 and 2415919103.

Returns

This command does not return a value.

Description

The string that heads the input command is optional, and allows the user to provide an on-screen prompt for the data. The data is output to the screen as it is entered. Be aware that this command will not restore the background if characters are deleted during entry. It will use the current background ink colour to blank out the letter during a delete sequence. This command only prints the prefix text once, so combining this command with a 3D backdrop is not recommended.

Example Code
INPUT "enter name>";name$

PRINT "name is ";name$

WAIT KEY