smitje
asked on
Variable RecordTypes as parameter for procedures
Is it anyway possible to have different/variable RecordTypes as input parameter for procedures?
Lets say I wanted to make a standard procedure for reading/writing records to 'files of recordtypes', is that possible like this or is there an easier way?
Lets say I wanted to make a standard procedure for reading/writing records to 'files of recordtypes', is that possible like this or is there an easier way?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This couple of lines...
if (FileStream.Write(DataRec,
WriteLn('Ok')
else
WriteLn('Error');
should be as follows,,,,
if (FileStream.Write(DataRec,
WriteLn(F, 'Ok')
else
WriteLn(F, 'Error');
Cheers,
Viktor