Development Topics > SBX Subroutines > Development Steps

PROGRAM statement

As with the assembler subroutines found on AMOS, subroutines written in BASIC for A-Shell must include a PROGRAM statement (typically one of the first things in the program.) The syntax is:

PROGRAM <progname>, <major>.<minor> {sub} (<edit>)

For example:

PROGRAM MYSBR,1.0(100)