Skip to content

Printing

LucasMW edited this page Dec 8, 2017 · 5 revisions

Printing

The command @ is used to print an expression. The @ behaves differently depending on the type of expression

Integers

(byte, short and ints)

@a; @10;

Strings

@ can print string constants like this:

@"Hello World!\n";

Will result

$ Hello World!

strings accept the special character \n \t and \

  • \n is line break
  • \t is tabulation space (tab)
  • \ will result a normal \

Printing can always be combined like this:

 v=1;
 @"The value of variable v is "; @v; @"\n";

Result:

$The value of variable v is 1

Clone this wiki locally