Table of Contents

SUB

PET VIC-20 C64 C16 Plus/4 C128 X16 M65

The SUB keyword starts a subroutine block.

Syntax

SUB <name> ([<arg> AS <type>[, <arg> AS <type>]...]) [OVERLOAD] [PRIVATE|SHARED] [STATIC]
  <statements>
END SUB

See also