WriteLn(P1 [, P2, ...,Pn ] );

This RS/2 script shows how information may be placed in the EscapeE log.


// WriteLn procedure can accept most parameter types, but not unsupported or structured types (e.g. list).

x:=1; y:=2; b:=(x=y); s:='My string';

writeln('x = ',x,' y = ',y,' b = ',b,' s = ',s);

writeln('Each WriteLn statement is placed ');writeln('on a separate line.');

The resulting Log page shows this text:

x = 1 y = 2 b = FALSE s = My string

Each WriteLn statement is placed

on a separate line.