Does GPC have structured constants ?
30 Oct
1997
30 Oct
'97
5:28 p.m.
Does GPC have structured constants, as found in Oregon and Vax Pascal ? eg. type ThreeNumbersType = record a, b, c: integer; end{record}; const FirstConst = ThreeNumbersType( 1, 2, 3 ); SecondConst = ThreeNumbersType( 42, 64, 96 ); procedure StructuredConsts; var fred, bill: ThreeNumbersType; begin fred := FirstConst; bill := SecondConst; end; I know there's the schemas, but they change these from a constant declaration to a type or variable declaration and I'm trying to get the simplest possible (machine) translation from Oregon Pascal to GPC. Here's hoping the answer is "yes, do it like this ..." Richard
10508
Age (days ago)
10508
Last active (days ago)
0 comments
1 participants
participants (1)
-
richard.kerry@quantel.com