Needed - file delete and exists commands
- rbytes
- Posts: 1338
- Joined: Sun May 31, 2015 12:11 am
- My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet - Location: Calgary, Canada
- Flag:
- Contact:
Re: Needed - file delete and exists commands
Why is an offset of 2 used for filepos in your example? From the description in the manual, I would think that the start of the file would be #.filepos(f,0)
The only thing that gets me down is gravity...
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Needed - file delete and exists commands
Because text files by default are created in Unicode code table. And first two bytes of such file are code table marker. You can see it if you use some binary file viewer for these files.
- rbytes
- Posts: 1338
- Joined: Sun May 31, 2015 12:11 am
- My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet - Location: Calgary, Canada
- Flag:
- Contact:
Re: Needed - file delete and exists commands
This is good information for the manual.
The only thing that gets me down is gravity...