#COMPILE EXE "s61_file_append.exe"
' Sample: Append text to file
FUNCTION PBMAIN() AS LONG
    OPEN "sample_output.txt" FOR APPEND AS #1
    PRINT #1, "Appended at "; TIME$
    CLOSE #1
    PRINT "Appended to sample_output.txt"
    FUNCTION = 0
END FUNCTION
