FORMS DESCRIPTION LANGUAGE

DO SECTION PHONE AT 0,0;

DO SECTION PHONE AT 30,37;

DO SECTION

Keywords.

PHONE

Section name. The section must previously have been defined by the BEGIN SECTION and END SECTION commands.

AT 0,0; AT 30,37;

Coordinates of the origin of the section in relation to the origin of the form.

COMMENT

 

It is often helpful to use comments to include in the source

 

statements a description of certain FDL commands and their

 

functions. These comments are useful when debugging your

 

program and can act as reminders if you or someone else

 

modifies the .FSL later. When you use comments, they appear

 

on the source statement only. They are not printed on your

 

form, and do not affect the execution of your program.

Syntax

COMMENT text;

Parameter options

text

 

Text to be treated as a comment.

Default

None.

Example

This sample illustrates a COMMENT that identifies the procedure

 

that is to follow it:

 

COMMENT *** PLACE SECTIONS ***;

 

DO SECTION RSPNSE AT 0,0;

 

DO SECTION RSPNSE AT 7,0;

 

DO SECTION RSPNSE AT 14,0;

Comment nesting

/* begins a comment and */ ends a comment.

 

/* THIS IS THE START OF A NESTED COMMENT

 

/* WHEN TWO ENDING COMBINATIONS ARE FOUND */

 

THE COMMENT IS TERMINATED */

 

A syntax error results if /* does not begin a comment and */

 

does not end a comment. Each comment beginning (/*) and

 

ending (*/) should be followed by at least one space character.

Considerations

A semicolon must be inserted at the end of the comment text;

 

otherwise all of the following FDL commands are considered part

 

of the comment text and are not executed. The FDL compiler

 

ignores all comments up to the first encountered semicolon.

 

Asterisks or line spacing cause the COMMENT to stand out from

 

the text.

XEROX 4050/4090/4450/4650 LPS FORMS CREATION GUIDE

2-21

Page 43
Image 43
Xerox 4650, 4450 manual Do Section Phone AT 0,0 Do Section Phone AT 30,37, Syntax Comment text