Accessing configurable text from a fileΒΆ

Accessing configurable text from a file

An item from a text configuration file may be used anywhere in the program where a string within quotes would be legal. The syntax to call an item is:

textfile_id[integer]

textfile_id is the identifier of a configurable text file which has been declared in the program, and integer specifies the number of the text item which is required from within that file. textfile_id[integer] is replaced by the string defined as string integer in the configuration file. If the text item does not exist, a blank string is returned.


RELATED TOPICS

The sctextw program