DELSUB Example

10!   This program deletes an important SUB,
20! DO NOT save after you run!!!!!
30!   Notice in the code SUB's One and Two. SUB One
40! will be deleted with the DELSUB command.
50!   After you read the instructions comment out the
60! STOP statement.
70    CLEAR SCREEN
80    PRINT "Please read the instructions."
90    STOP
100   One
110   Two
120   DELSUB One
130   PRINT "SUB One deleted"
140   PRINT "Now, exit and do not save the file!"
150   END
160   SUB One
170     PRINT "Hello, in Sub one"
180   SUBEND
190   SUB Two
200     PRINT "Hello, in Sub two"
210   SUBEND