[fpc-pascal] with in classes/records

Ryan Joseph ryan at thealchemistguild.com
Mon Sep 10 10:15:33 CEST 2018



> On Sep 10, 2018, at 6:34 AM, Michael Van Canneyt <michael at freepascal.org> wrote:
> 
> I know that, but I meant you cannot immediatly go to the second level. You must specify the 2 indexes as in:
> 
>>   Writeln(Test[21][2]);

The array property is a little different because it has the [] syntax which is effectively the name. There may be some interesting things to do with “default” being recursive but I’ll just comment it out for now.

Regards,
	Ryan Joseph




More information about the fpc-pascal mailing list