Previous Topic: Not - Return the Logical Negation of an ExpressionNext Topic: SetDirectory - Change the Current Directory


Print - Output the String Text to the Screen

Valid on UNIX and Windows

The Print function outputs the string text to the screen.

Function format:

Print(text as String) as Boolean
text

Text to be printed.

The function always returns TRUE.

Example:

Dim counter as integer

'Print 5 lines
For counter = 1 to 5
 Print("Line " + str(counter)) 
Next

'Wait 5 seconds
Sleep(5000)

'Clear the print screen
ClearScreen()
Print("Screen Cleared")