Please note: GPC deactivates Result by default because it is incompatible with standard program semantics. Only in --delphi mode or with the option --implicit-result, it is activated. Explicit result variables provide a safer alternative that works in default mode.
Result is a Borland Delphi extension.