#COMPILE EXE "s32_while_wend.exe"
' Sample: WHILE/WEND loop
FUNCTION PBMAIN() AS LONG
    DIM count AS LONG
    count = 1
    PRINT "WHILE countdown:"
    WHILE count <= 5
        PRINT count;
        INCR count
    WEND
    PRINT
    FUNCTION = 0
END FUNCTION
