well i distinctly remember seeing something as 'show real effort with ur assignments'.....Anyways wut you should do is to make a procedure for da menu and in it use a parameter that'll pass the entered number to da main program,and in da main program use REPEAT with dat passed parameter like
repeat
{case or nested ifs for procedure calling goes here}
until variable=3;
another guest
Junior Poster in Training
66 posts since Jan 2008
Reputation Points: -7
Solved Threads: 4
menu procedure should be like
procedure menu(var option:integer);
{so this'll be where you put all txt to display,i'm saving myself a few lines here lol}
readln(choice);
end;
{top level begins here,i'm only writing the lines you need for this repeating menu}
var option:integer;
{you'll have more variables but as i said i'm only dealing wiv da menu}
repeat
menu(option);case option of
1:member procedure;
2:books procedure;
until option=3;
hope this helps :)
another guest
Junior Poster in Training
66 posts since Jan 2008
Reputation Points: -7
Solved Threads: 4
jsosnowski
Junior Poster in Training
68 posts since Nov 2007
Reputation Points: 11
Solved Threads: 11