' #COMPILE EXE/DLL/CONSOLE directives
#COMPILE EXE
#DIM ALL

FUNCTION PBMAIN() AS LONG
    PRINT "This sample demonstrates #COMPILE EXE."

    PRINT "#COMPILE EXE - creates a Windows executable"
    PRINT "#COMPILE DLL - creates a DLL"
    PRINT "#COMPILE CONSOLE - creates a console executable"

    PRINT "Compile directive demonstration complete."

    FUNCTION = 0
END FUNCTION
