records again..if this helps...

incase someone out there wants to give me a few hints as to approach my problem i thought i would give what i know already...



type

Employee=record

ClockCardNo: array[1000..9999} of integer;

TaxCode: string[4]; {3 digits, 1 letter- L or H}

Shift_Attended: char; { A or B}

Shifts_worked: array[1..7] of integer;

end;



what i am trying to do is validate a record to the above requirements and any field that doesnt lie within the requirements is written to an error file. The clockcard no, and the shifts worked i know how to validate but i dont know how to do the others...

hope someone can help me as this is the only part of my program i cant figure out!

Thankyou :)


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories