Please enable JavaScript to view this site.

Defines a text string with which a symbolic name is associated. This name can be used repeatedly within the R3 program and is automatically recognized at compile time.

Syntax

lit string name string str

name

It is the symbolic name associated with the text string. It must adhere to the following rules:

Maximum 60 characters

The first character must be a letter

str

It is the text string that replaces the symbolic name whenever it is encountered. The limitations are as follows:

Maximum string length 190 characters

Validity

Rule, Task

Note

Symbolic names are recognized indifferently if they appear in lower or upper case. A name is recognized only if it forms a word by itself, while it is ignored if it is part of a longer word. Symbolic names are not allowed to be defined equal to any reserved word of the R3 language

The purpose of this command is to return either a more compact or more intelligible program source.

The definition must precede use; otherwise a compiler error message will result.

Instruction literally does not cause a lengthening of the object code produced by the compiler; it may, however, cause a lengthening of compile time.

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC