[fpc-pascal] "identifier not found" case probelm
rambo waz here
arratay.djinn at gmail.com
Sun Nov 10 11:54:42 CET 2013
at the moment i have a case where each choice leads off to a procedure. ..
looks like this
repeat
writeln('Main Menu');
writeln('1. New Customer Info');
writeln('2. Withdrawal');
writeln('3. Returns');
writeln('4. Money owed by customer');
writeln('5. Quit the Program');
readln(menu_choice);
if menu_choice in [1..5]
then case menu_choice of 1: new_customer;
2: withdraw;
3: returns;
4: money_owed;
5: writeln('stop')
end
else writeln('1..5!")
until choice = 5
but when i try to run it it comes up with an error saying "identifier not
found" and highlights each of the case choices .. i.e. 3: returns;
...................... any help ? :( :( :(
--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/identifier-not-found-case-probelm-tp5717460.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
More information about the fpc-pascal
mailing list