User guide
eWON 500-2001-4001-4002 User Guide - Programming the eWON
eWON 500®2001®4001®4002® Version 4_3_0 - User Guide - 10/5/05 - ©ACT'L sa - Page 159
9.2.60 PRINT - AT
Syntax [Command]
PRINT CA
This command displays the text CA followed by a new line.
PRINT CA;
This command displays the text CA without a new line.
PRINT AT E1, E2 CA
This command displays the text CA at the E1 column and at the E2 line.
PRINT CA1;CA2[;CA3...]
Display the CA1, CA2 text etc. one following the other (don't pass to next line).
Purpose:
The eWON has a virtual "screen" that can be used in order to inspect the content of values while the program is running,
or in order to debug an expression…
Example:
See also:
“CLS” on page 134
9.2.61 PRINT #
Syntax [Command]
PRINT #x,CA
With x defined as follows:
CA is described in the PRINT description above.
Purpose:
The PRINT command sends output to the virtual screen. With the PRINT # command, output can be routed to another destination.
When running ASP code, the print command can be used to build the content of the page sent to the user.
If you print to Web page, the Print command add a "<BR>" at the end of line to pass to the next line.
If you don't want to pass to next line, you need to add a ";" (semicolon) at your Print.
Example:
PRINT A$;
Example:
PRINT " HOP1 "; HOP2 "
Value Description
0 User's WEB page
1 Virtual screen
Table 100: valid values for print redirection
PRINT #0,A$ REM sends A$ to the user's web page
PRINT #1,A$ REM works like PRINT A$ by sending to the virtual screen.