up previous next
print    --    print the value of an expression


Syntax
print E_1, ..., E_n

Description
This command displays the value of each of the expressions E_i . To insert a newline write \n .

The similar command println is equivalent to print with a final newline.

See print on for printing on file.

Example
/**/  for I := 1 To 10 Do  print I^2, " ";  endfor;
1 4 9 16 25 36 49 64 81 100

/**/  print "a\nb";
a
b

See Also