Procedure:




Syntax:

procedure name

Program body

end

where: name can be any uniq name, program body see grammar and the procedure must
end wit a 'end' command.

Grammar




Program Example:

procedure clear
for i%=1 to 24 do
for j%=1 to 80 do show " " at i%,j% next
next
end;

for i%=1 to 20 do show "Example" at i%,1 next;
get a$,1 at 21,1;
run clear;
show "After clear." at 1,1

Program File

Application File




Return

Last Updated: July 1998.