Shop OBEX P1 Docs P2 Docs Learn Events
flexBASIC mount /host — Parallax Forums

flexBASIC mount /host

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:

    close #3
    

    before the "end". Because the file isn't being closed the buffered data isn't being flushed to disk.

Sign In or Register to comment.