Adriaan van Os wrote:
Is it correct that an external variable can be declared in GPC as follows:
var eV: integer; external; asmname 'eV';
Yes -- but in the next release it will be var eV: integer; external name 'eV';
Is there a similar construct to declare external constants ('extern const' in C) ?
In the next release: var eV: integer; attribute (const); external name 'eV'; But these are typed constants -- neither untyped constants that can be used as `case' selectors nor BP's typed "constants" which are in fact variables. Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html GPC download signing key: 51FF C1F0 1A77 C6C2 4482 4DDC 117A 9773 7F88 1707