' #INCLUDE ONCE, #DEFINE, #UNDEF preprocessor directives
#COMPILE EXE
#DIM ALL

#INCLUDE ONCE "win32api.inc"

#DEFINE PI AS 3.14159265358979
#DEFINE MAX_ITEMS AS 100
#DEFINE GREETING AS "Hello from PBXB64"

FUNCTION PBMAIN() AS LONG
    PRINT "PI ="; PI
    PRINT "MAX_ITEMS ="; MAX_ITEMS
    PRINT "GREETING ="; GREETING

    #UNDEF MAX_ITEMS
    #DEFINE MAX_ITEMS AS 200
    PRINT "MAX_ITEMS after redef ="; MAX_ITEMS

    PRINT "#DEFINE/#UNDEF operations complete."

    FUNCTION = 0
END FUNCTION
