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