AntiHyper
Revered Member
I need to know for my work project since we're meant to create an array of driver licenses and their properties.
currently i'm just guessing:
type licenseRec = record
licId:integer;
firstName:string[16];
<<stuff here too much to write up>>
end;
var drivers:array[1..32]of licenseRec;
...
And to copy a bit of info from array 'c' into a 'str':
str:=drivers[c].firstName;
In C i found out that you need a pointer. Maybe for Pascal aswell but i haven't taught of var ptrointer;
currently i'm just guessing:
type licenseRec = record
licId:integer;
firstName:string[16];
<<stuff here too much to write up>>
end;
var drivers:array[1..32]of licenseRec;
...
And to copy a bit of info from array 'c' into a 'str':
str:=drivers[c].firstName;
In C i found out that you need a pointer. Maybe for Pascal aswell but i haven't taught of var ptrointer;