2.3 version
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
2.3 version
Command OPTION SCREENLOCK OFF/ON will be implemented.
It allows to disable idle screen locking when program is running.
It allows to disable idle screen locking when program is running.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 2.3 version
Function FILE_EXISTS(n$) will be implemented.
It returns 1 or 0 if specified file or directory exists.
It returns 1 or 0 if specified file or directory exists.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 2.3 version
Command OPTION DEBUG PAUSE will be implemented.
It pauses program execution and displays debug window.
It pauses program execution and displays debug window.
Re: 2.3 version
We really need an EOF for files to know when the end of a file is reached while reading. Is it too late for 2.3?
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 2.3 version
Version 2.3 will feature full set of file functions, so all suggestions are very welcome.Dalede wrote:We really need an EOF for files to know when the end of a file is reached while reading. Is it too late for 2.3?
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 2.3 version
Function FILE_SIZE(n$) will be implemented.
It returns size in bytes of specified file.
It returns size in bytes of specified file.
Re: 2.3 version
When you say a full file featured release I wonder what that means.
Are you going to support random files where a fixed length record length is specified and then the record number can be used to access the record and read or update it? The data inside a record is usually separated by commas and can be of any type. Microsoft supports this kind of file in their basic and I have found it useful for a database.
Dale
Are you going to support random files where a fixed length record length is specified and then the record number can be used to access the record and read or update it? The data inside a record is usually separated by commas and can be of any type. Microsoft supports this kind of file in their basic and I have found it useful for a database.
Dale
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 2.3 version
Set of file functions will also include byte read/write, line read/write, file pointer access, list of files in directory, EOF check.Dalede wrote:When you say a full file featured release I wonder what that means.
Are you going to support random files where a fixed length record length is specified and then the record number can be used to access the record and read or update it? The data inside a record is usually separated by commas and can be of any type. Microsoft supports this kind of file in their basic and I have found it useful for a database.
Dale
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 2.3 version
New command will be implemented:
FILE n$ READ x
reads byte (value 0..255) from file [n$] and stores it to variable [x]. If reading after end of file was reached, variable receives value of -1.
It is possible to specify several variables to read multiple bytes:
FILE n$ READ x,y,...
FILE n$ READ x
reads byte (value 0..255) from file [n$] and stores it to variable [x]. If reading after end of file was reached, variable receives value of -1.
It is possible to specify several variables to read multiple bytes:
FILE n$ READ x,y,...
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 2.3 version
New command will be implemented:
FILE n$ READLINE x$
reads string line from file [n$] and stores it to variable [x$]. Carriage return is not stored in the string.
It is possible to specify several variables to read multiple string lines:
FILE n$ READLINE x$,y$,...
FILE n$ READLINE x$
reads string line from file [n$] and stores it to variable [x$]. Carriage return is not stored in the string.
It is possible to specify several variables to read multiple string lines:
FILE n$ READLINE x$,y$,...