Page 1 of 6
					
				2.3 version
				Posted: Sat Jul 13, 2013 1:48 pm
				by Mr. Kibernetik
				Command OPTION SCREENLOCK OFF/ON will be implemented.
It allows to disable idle screen locking when program is running.
			 
			
					
				Re: 2.3 version
				Posted: Sun Jul 14, 2013 7:06 am
				by Mr. Kibernetik
				Function FILE_EXISTS(n$) will be implemented.
It returns 1 or 0 if specified file or directory exists.
			 
			
					
				Re: 2.3 version
				Posted: Mon Jul 15, 2013 7:05 am
				by Mr. Kibernetik
				Command OPTION DEBUG PAUSE will be implemented.
It pauses program execution and displays debug window.
			 
			
					
				Re: 2.3 version
				Posted: Mon Jul 15, 2013 2:11 pm
				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?
			 
			
					
				Re: 2.3 version
				Posted: Mon Jul 15, 2013 2:36 pm
				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.
 
			 
			
					
				Re: 2.3 version
				Posted: Wed Jul 17, 2013 2:15 am
				by Mr. Kibernetik
				Function FILE_SIZE(n$) will be implemented.
It returns size in bytes of specified file.
			 
			
					
				Re: 2.3 version
				Posted: Wed Jul 17, 2013 3:32 pm
				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
			 
			
					
				Re: 2.3 version
				Posted: Wed Jul 17, 2013 3:46 pm
				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.
 
			 
			
					
				Re: 2.3 version
				Posted: Fri Jul 19, 2013 3:29 am
				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,...
			 
			
					
				Re: 2.3 version
				Posted: Fri Jul 19, 2013 9:45 am
				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$,...