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:
Re: 2.3 version
New command will be implemented:
DIR n$ DELETE
deletes directory [n$] with all its contents. You cannot delete current directory, but if you want to delete it then change current directory and specify proper name of directory to be deleted.
DIR n$ DELETE
deletes directory [n$] with all its contents. You cannot delete current directory, but if you want to delete it then change current directory and specify proper name of directory to be deleted.
- 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:
DIR n$ CREATE
creates directory [n$]. If necessary, all intermediate folders are also created.
DIR n$ CREATE
creates directory [n$]. If necessary, all intermediate folders are also created.
- 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:
DIR n$ RENAME m$
renames directory [n$] to [m$].
DIR n$ RENAME m$
renames directory [n$] to [m$].
- 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:
DIR n$ COPY m$
copies directory [n$] with all its contents to folder [m$].
DIR n$ COPY m$
copies directory [n$] with all its contents to folder [m$].
- 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:
"WHILE" loops:
WHILE K < 10
...
END WHILE
Command BREAK interrupts loop:
WHILE K < 10
...
IF K = 5 THEN BREAK
...
END WHILE
"WHILE" loops:
WHILE K < 10
...
END WHILE
Command BREAK interrupts loop:
WHILE K < 10
...
IF K = 5 THEN BREAK
...
END WHILE
Re: 2.3 version
Wow, this is going to be a great release.
It would be nice to be able to export a file that is created by all the new commands so that it can be used by another program outside of Smart Basic. I am thinking that perhaps the program could email the file as a way of exporting it.
Dale
It would be nice to be able to export a file that is created by all the new commands so that it can be used by another program outside of Smart Basic. I am thinking that perhaps the program could email the file as a way of exporting it.
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
And what about exporting via Dropbox?Dalede wrote:Wow, this is going to be a great release.
It would be nice to be able to export a file that is created by all the new commands so that it can be used by another program outside of Smart Basic. I am thinking that perhaps the program could email the file as a way of exporting it.
Dale
Re: 2.3 version
Exporting via DropBox could work as well although not able to send to someone else. How would I export a program to DropBox via the program itself?
I see that this is likely too late for 2.3.
Dale
I see that this is likely too late for 2.3.
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 functions will be implemented:
DATA_EXIST()
returns 1 if data when using command READ 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.
Command FILE PRINT will be optimized to work much faster.
DATA_EXIST()
returns 1 if data when using command READ 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.
Command FILE PRINT will be optimized to work much faster.
- 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 functions will be implemented:
TEXT_HEIGHT (t$)
TEXT_WIDTH (t$)
return height and width of text [t$] for current graphics font.
TEXT_HEIGHT (t$)
TEXT_WIDTH (t$)
return height and width of text [t$] for current graphics font.