4 Mar
2003
4 Mar
'03
11:10 p.m.
Frank Heckenbach wrote:
Some directives in GPC are written in prefix form, in particular `static', `volatile', `register' for variables and `inline' for routines, e.g.:
inline procedure Foo;
var a: static Integer;
Since this syntax is also more like C than Pascal, I'd like to turn them into attributes, thereby also making them non-keywords. E.g.:
procedure Foo; attribute (inline);
var a: Integer; attribute (static);
I agree! Much easier to parse also, IMO. -- Chuck F (cbfalconer@yahoo.com) (cbfalconer@worldnet.att.net) Available for consulting/temporary embedded and systems. <http://cbfalconer.home.att.net> USE worldnet address!