Syntax
PRINT [expressionlist] [(, | ;)] ...
Description
Prints expressionlist to screen. Expressionlist can be constant string, constant numbers, variables, string variables or expressions consisting ov variables and numbers. Seperated by either , or ;
Using a comma (,) as separator or in the end of the expressionlist will place the cursor in the next column (every 5 characters), using a semi-colon (;) won't move the cursor. If neither of them are used in the end of the expressionlist, then a new-line will be printed.
Example
DIM A$(10)
A$
= "World"
''
new-line
PRINT "Hello World!"PRINT
"Hello
World!"
'' no new-line
PRINT "Hello"; "World"; "!";
PRINT
'' column separator
PRINT "Hello!", "World!"
PRINT "3+4
=",3+4
y=4321
x=1234
PRINT
"sum=",x+y
Differences from other BASICs
- none from Visual BASIC
- PBASIC uses DEBUGIN and a non-standard syntax