longname

A reserved variable which holds a list of the long request names.

Syntax

read longname

or

readln longname

Comments

Normally, only long request names are used in a template. References to short request names are still legal, but in each case the long name of the request is actually addressed. The long names directive indicates that both long and short names will be used uniquely and that they must be set separately.

The reason for distinguishing between the long and short name of a request is that some solver codes refer to requests both by a full name and by an abbreviation (or number), which should be preserved separately.

Short names are currently not displayed by the user interface. However, long and short names can be combined through mangling to produce a long name which contains the short name.

Components have only one name.

Example

do numrequests
{
     readln longname
}