The following is an example of a resourcestring de nition:
Resourcestring
FileMenu = '&File...'; EditMenu = '&Edit...'; |
All string constants de ned in the resourcestring section are stored in special tables, allowing to manipulate the values of the strings at runtime with some special mechanisms.
Semantically, the strings are like constants; Values can not be assigned to them, except through the special mechanisms in the objpas unit. However, they can be used in assignments or expressions as normal constants. The main use of the resourcestring section is to provide an easy means of internationalization.
More on the subject of resourcestrings can be found in the Programmers guide, and in the chapter on the objpas later in this manual.