PRINT Statement |
The PRINT statement provides a way of displaying information to the user during the Alchemy process by writing one or more expressions (concatenated with the '+' operator) to the console. PRINT terminates the line after the data has been output.
Note |
---|
PRINT is functionally equivalent to the ? statement. |
expr | Some expression to output. |
$version = "2010.4"; ... PRINT "Importing USA data from MyDataProvider"; PRINT "Version number " + $version;
alternatively:
$version = "2010.4"; ... ? "Importing USA data from MyDataProvider"; ? "Version number " + $version;
Output to console:
Importing USA data from MyDataProvider Version number 2010.4 |