HP Business BASIC/XL Reference Manual - HP 3000 MPE/iX Computer Systems - Edition 1 (32715-90001)

4-: 159
position the cursor to the first field. Use the SKIP clause to begin
writing to a field other than the first field.
If no VPLUS form is active, executing a WRITE FORM statement causes a
run-time error.
Examples
The following examples show the use of the WRITE FORM statement.
400 WRITE FORM Num_var
410 WRITE FORM A,B;C$
420 WRITE FORM A,B;C$
430 WRITE FORM A,SKIP 3,B
440 WRITE FORM ;MSG="ERROR: BAD NAME";CURSOR=5
450 WRITE FORM ;CURSOR="Emp-name"
460 WRITE FORM A;SKIP 3,B;MSG="ERROR: BAD NAME";CURSOR=5