[fpc-pascal] TFPObjectlist example
James Richters
james at productionautomation.net
Mon Sep 7 01:07:37 CEST 2020
Am I correct that TFPObjectlist is kind of like Tstringlist, except instead of creating and array of strings, it creates an array of objects?
I'm wanting to do something like that but I don't know how to define the object.. I'm guessing it would be something like a record
I'm wanting to end up with a list of records like:
Type
test = record
Port :String;
Size :Byte;
Status :Word;
End;
Does anyone have an example of how to use TFPObjectlist?
James
More information about the fpc-pascal
mailing list