[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GPC supports variant records like in EP and BP. The following construction is not allowed in Extended Pascal, but in BP and GPC:
program BPVariantRecordDemo; |
In EP, the variant field needs a type identifier, which, of course, also works in GPC:
program EPVariantRecordDemo; |