how would i get procedure b to run again right after its called procedure a? if that makes sense. is there a way to break out of a procedure so to speak. i could really use some help on this one.
example.
Code:program new; procedure a; begin wait(100); DoStuff; end; procedure b; begin writeln('stuff'); z:= Random(3); if(z = 2) then procedure a; end; procedure x; begin end; begin procedure a; procedure b; procedure x; end;



Reply With Quote



