2.3 version

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

2.3 version

Post by Mr. Kibernetik »

Command OPTION SCREENLOCK OFF/ON will be implemented.
It allows to disable idle screen locking when program is running.

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 2.3 version

Post by Mr. Kibernetik »

Function FILE_EXISTS(n$) will be implemented.
It returns 1 or 0 if specified file or directory exists.

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 2.3 version

Post by Mr. Kibernetik »

Command OPTION DEBUG PAUSE will be implemented.
It pauses program execution and displays debug window.

Dalede
Posts: 131
Joined: Fri Dec 28, 2012 4:00 pm
Location: Grass Valley, CA, USA
Contact:

Re: 2.3 version

Post by Dalede »

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?

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 2.3 version

Post by Mr. Kibernetik »

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?
Version 2.3 will feature full set of file functions, so all suggestions are very welcome.

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 2.3 version

Post by Mr. Kibernetik »

Function FILE_SIZE(n$) will be implemented.
It returns size in bytes of specified file.

Dalede
Posts: 131
Joined: Fri Dec 28, 2012 4:00 pm
Location: Grass Valley, CA, USA
Contact:

Re: 2.3 version

Post by Dalede »

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

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 2.3 version

Post by Mr. Kibernetik »

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
Set of file functions will also include byte read/write, line read/write, file pointer access, list of files in directory, EOF check.

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 2.3 version

Post by Mr. Kibernetik »

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,...

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 2.3 version

Post by Mr. Kibernetik »

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$,...

Post Reply