I really love Smart Basic, it solve my problems, thanks. currently I set the last register as a "<end>" string, it works right but I ask myself if don't exist a better way to do this.
What should be a good way to avoid an error on end of file?
Thanks.
The best way to know end of file
Re: The best way to know end of file
Version 2.3 will have a better answer. Check the thread on the 2.3 release.
Dale
Dale
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: The best way to know end of file
In version 2.3 new function will be implemented:
DATA_EXIST(n$)
returns 1 if data in file [n$] when using command FILE INPUT are available. Otherwise it returns 0.
DATA_EXIST(n$)
returns 1 if data in file [n$] when using command FILE INPUT are available. Otherwise it returns 0.