Niels AD

Results 14 comments of Niels AD

I get the same result when running this with FreePascal... I'm not sure what you're expecting here?

Use a nested record: ```pascal type TDateTimeRec = union dt: record Date: LongInt; Time: LongInt; end; DateTime: Double; end; var rec: TDateTimeRec; begin rec.dt := [123, 456]; WriteLn(rec); end; ```

You can add this in `lpparser.pas`. Just have the parser return it as if it was a regular bracket.

A `try`..`finally` around your main function should work.