LTAB_TITLES
This command enables you to enquire and return the number of title strings in the specified logical table.
The format of the command is as follows:
LTAB_TITLES 'Logical table name'
An example of the command is given below:
LTAB_TITLES 'logtable1'
LTAB_TITLES requires a parameter, which is the name of the logical table to enquire. In this example, the logical table is logtable1
As the LTAB_TITLES command returns a value, this value has to be assigned to a variable somewhere. A typical use of the LTAB_TITLES command is:
LET num_titles (LTAB_TITLES 'logtable1')
which means the LTAB_TITLES command returns the number of titles in the logical table logtable1 and then LET assigns it to the macro variable num_titles.
The returned value is a number.
Est-ce que cela a été utile ?