XC=BASIC supports the procedural style of programming through the PROC ... ENDPROC statements. To call a procedure, use the CALL command.

A procedure is similar to a subroutine, except that

  • A procedure opens a unique variable and label scope
  • A procedure can have zero or more parameters
  • A procedure can call itself without overwriting the local variables (recursion)

Please see the documentation of PROC ... ENDPROC for more information.

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies


Enter your comment. Wiki syntax is allowed: