Here is some sample code... but I get an error and it's been too long since I've delt with records to figure what I'm doing wrong.
..rooms = [B]Record[/B]
....name : [B]String[/B];
....descpt1, descpt2 : [B]String[/B];
..fname : [B]file[/B];
..readln(rooms.name); [Red][Italic]<---- This is were I get my error, it says it is expecting a '(' after the word 'rooms'. I'm attempting to read input to store into rooms.name... what's going on here?? What am I missing?[/Italic][/Red]
Any help will be appreciated... thanks!
Mr. El Moe
0 · ·