POSITION:028,114
COLOUR:STANDARD
TEXT:00,get() converts keyboard input to an actual Euphoria data object and then
TEXT:16,stores it as the second element of a two sequence value. The receiving
TEXT:16,sequence variable is assigned this sequence value.
TEXT:32,The first element of this sequence value serves as an error code on
TEXT:16,whether or not the string of characters you typed is a valid Euphoria
TEXT:16,data object. The error code is an atom value, and can be any one of the
TEXT:16,values listed below:
COLOUR:POINTS
TEXT:32, 0 - Accepted value is a valid Euphoria data object.
TEXT:16,-1 - End of data hit before any data objects were read.
TEXT:16, 1 - Accepted value is not a valid Euphoria data object.
COLOUR:STANDARD
TEXT:32,It's important to monitor the error code, as it tells you if the data
TEXT:16,that was keyed in is valid. Using the "if" statement to check the error
TEXT:16,code can help you ensure you do not receive any garbage input.
