![]() |
|
Navigation |
Synopsis Print a value without subsequent newline.
Function
void print(value arg)
Usage
import IO;
Description Print a value on the output stream.
See println for a version that adds a newline
and printExp for a version that returns its argument as value.
Examples Note that the only difference with println is that no newline is added after the value is printed
(note where the prompt
ok appears):
rascal>import IO; ok rascal>print("Hello World"); Hello Worldok ![]() |