Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
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