View Single Post
Old 05-10-2008, 01:12 AM   #2
Pictsie
 
Pictsie's Avatar
 
Join Date: Oct 2007
Location: North East England
I am currently:

Sorry been ages since I used pascal, but if I remember right a ; before end is optional, so chances are its being fussy and the problem isn't where it thinks it is
best to add the ; to the end of every line anyway just to rule out a missing one higher up that should be optional but isn't (also good practice for if you move onto c or java based languages) obviously don't add to the end of lines that aren't supposed to have them or you'll possibly find unexpected results
Also make sure your begin and ends all match up
another thing worth trying is to enclose the condition in () this just makes sure the compiler sees what you want it to see so "until (menu = '4');"
Sorry can't actually see anything obvious, it all looks fine to me

Pictsie is offline   Reply With Quote