How does the Protected keyword work? And what standards is it defined in (besides BP)?
See ya! Orlando Llanes
"Meine Damen und Herren, Elvis hat soeben das Gebaeude verlassen!"
"Look out fo' flyeeng feet" O__/ a010111t@bc.seflin.org /|____. O <__. /> / \ ____________|_________ http://ourworld.compuserve.com/homepages/Monkey414
According to Orlando Llanes:
How does the Protected keyword work?
Procedure Foo ( protected Bar: Integer );
means that the value of `Bar' may not be changed in the function body.
Procedure Foo ( protected Var Bar: Integer );
is the same as
Procedure Foo ( Const Bar: Integer );
And what standards is it defined in (besides BP)?
In ISO-10206 Extended Pascal. The meaning `protected' has in BP is not (yet;) implemented into GPC.
Greetings,
Peter -- Peter Gerwinski, Essen, Germany, free physicist and programmer Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - 1 Oct 1997 PGP key fingerprint: AC 6C 94 45 BE 28 A4 96 0E CC E9 12 47 25 82 75 Fight the SPAM! - http://maps.vix.com/