' SHELL — run external programs
#COMPILE EXE
#DIM ALL

FUNCTION PBMAIN() AS LONG
    PRINT "Launching Notepad..."
    SHELL "notepad.exe"
    PRINT "Notepad closed. Launching Calculator..."
    SHELL "calc.exe"
    PRINT "Done."
    FUNCTION = 0
END FUNCTION
