Next: Defaults for Parameters Up: The Language Previous: Blocks

### How to Leave Something Out :

During the interpretation process of a command one of the parameters is always the default parameter. If you want to modify this parameter, the keyword may be left out.

e.g.:

instead of

           CREATE LINE PP PNT1=100,100 ; PNT2=200,100!

it is sufficient to put in:

           CREATE LINE PP 100,100 ; 200,100!

Operator, operand and characterization can be left out for consecutive, repeated call of the same command.

e.g.:

           CREATE LINE PP 100,100 ; 200,100 !
           200,100 ; 200,200 !

However, there are some exceptions:

           ACTIVATE LAYER
           FADE LAYER
           CREATE TABLOFARTICLEC
           LOAD
           DELETE TABLOFARTICLEC
           UNTIE LAYER
           SWITCH CONSTRAINT
           SWITCH RULE

Parameters of the previous command can be adopted:

e.g.:

           CREATE LINE PP 100,100 ; 200,100 !
           ; 200,200 !

creates a line with 100,100 - 200,100!

           CREATE LINE PP 100,100 ; 200,100 ; LS=3 !
           LS= ; 200,200 ; ; !

creates a line with 200,200 - 200,100 and line style 3.

A command contains parameters which have to be put in and/or can be put in. In the above example the points P1 and P2 are the prerequisite for the creation of the line (obligatory parameters). Parameters as for example LA (line style), FA (color) etc. are additional inputs (optional parameters).

If obligatory parameters for a command are not put in, the interpreter tries to adopt them from the previous command.

e.g.:

           CREATE LINE PP 100,100 ; 200,100 ; COL=BLUE !
           !

The second command only consists of an exclamation mark and creates a line 100,100 - 200,100 with the colour valid according to the default; i.e. the obligatory parameters P1 and P2 are adopted, the optional parameter FA is not adopted.

Abbreviations :

Operators, operands, characterizations, keywords may be abbreviated logically,

e.g.:

           CR LINE PP ...

To abbreviate logically means to use an unambiguous abbreviation. C can mean CREATE as well as COPY, LIN can mean LINE or LINEARDIM. Here it is not defined which operator the system uses.

Attention !

For the creation of makros it has to be considered that not too many information is left out. With optional parameters for example it is recommended to write the keyword, for in a later version of SISCAD-P it might be possible that the order of defaults is modified.

Next: Defaults for Parameters Up: The Language Previous: Blocks