Click or drag to resize

readline Function

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
readline Function

The readline function returns a line read from the console as a string. The line is terminated by a CRLF.

Execution of the Alchemy script is halted while the readline function is waiting for input.

Syntax

Alchemy
readline();

Example

The following example echoes a line read from the console:

Alchemy
$line = readline();
PRINT $line;