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

Re: 2.3 version

Post by Mr. Kibernetik »

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.

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:
DIR n$ CREATE
creates directory [n$]. If necessary, all intermediate folders are also created.

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:
DIR n$ RENAME m$
renames directory [n$] to [m$].

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:
DIR n$ COPY m$
copies directory [n$] with all its contents to folder [m$].

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:

"WHILE" loops:
WHILE K < 10
...
END WHILE

Command BREAK interrupts loop:
WHILE K < 10
...
IF K = 5 THEN BREAK
...
END WHILE

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

Re: 2.3 version

Post by Dalede »

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

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: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
And what about exporting via Dropbox?

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

Re: 2.3 version

Post by Dalede »

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

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

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 functions will be implemented:
TEXT_HEIGHT (t$)
TEXT_WIDTH (t$)
return height and width of text [t$] for current graphics font.

Post Reply