BAP Online Manuals : Library Reference : Library by Name : get
Previous: fronttoken
Next: getbacktrack

6.2.64. get

gets a characters ASCII value from the current input stream

SYNOPSIS

INCLUDE 'iolib.h'
get(Value)

SYNTAX

get(Value) (o)

ARGUMENTS

integer(Value) (o) ASCII value of the character read

DESCRIPTION

Matches Value with the ASCII value of the first character read from the input stream.

EXAMPLE

write("Press any key to continue: "),
get(_),
nl.

ERRORS

No runtime errors.

LAYERS

prolog-process, client-server, object

RELATED PREDICATES

read , put , char_int


BAP Online Manuals : Library Reference : Library by Name : get
Previous: fronttoken
Next: getbacktrack