mk90.basic.statements

Statement PRINT

Print literal text and integer expressions.

Syntax

PRINT [item { separator item }] [separator]

Parameters

ParameterMeaning
itemA double-quoted literal or a numeric expression.
separatorSemicolon concatenates; comma emits one space.

Behavior

Without a final separator, PRINT appends a newline. A trailing semicolon or comma suppresses the newline; a trailing comma still emits its one space.

Numbers are signed decimal values. An empty PRINT on its own physical line prints a blank line. This dialect has no tab zones or automatic spacing between items separated by semicolons.

Example

10 A=12
20 PRINT "VALUE=";A
30 PRINT "LEFT","RIGHT"
40 PRINT
50 PRINT "SAME ";
60 PRINT "LINE"

Limits and diagnostics

Only literal strings are accepted. No PRINT USING, PRINT #file, TAB or SPC. A bare PRINT immediately before a colon is rejected; use PRINT "" before a colon.

Status-code reference.

See also

LOCATE · INPUT · CLS · Language syntax