flexBASIC mount /host
Rsadeika
Posts: 3,837
in Propeller 2
Not working as expected. It creates the file, but it is not printing anything in the file. What am I missing? Must be another one of those things with my system.
Thanks
Ray
const HEAPSIZE = 8192 '' Filesystem mount "/host", _vfs_open_host() '' Main open "/host/test1.txt" for append as #3 print #3, "Yes it works."; end
Comments
Put:
before the "end". Because the file isn't being closed the buffered data isn't being flushed to disk.