3.1 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: 3.1 version

Post by Mr. Kibernetik »

New function will be added:

LABEL_EXISTS (m$)
returns 1 if label [m$] exists in current scope. Otherwise returns 0.

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: 3.1 version

Post by Mr. Kibernetik »

New command will be added:

ON x RESTORE TO label1, label2, ...
the same as RESTORE TO, but if [x] = 1 then resets data counter to label [label1], if [x] = 2 then resets data counter to label [label2], and so on.

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: 3.1 version

Post by Mr. Kibernetik »

New command will be added:

FILE n$ APPEND d$
appends contents of file [d$] to the end of file [n$]. This command does not depend on current file pointers and does not change them.

User avatar
Dutchman
Posts: 851
Joined: Mon May 06, 2013 9:21 am
My devices: iMac, iPad Air, iPhone
Location: Netherlands
Flag: Netherlands

Re: 3.1 version

Post by Dutchman »

In the command ON x RESTORE TO label1, label2, ..
Is it allowed to use variables for the labels e.g. Label$(x) :?:
Then the relation between x and Label can be fixed in advance

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: 3.1 version

Post by Mr. Kibernetik »

Dutchman wrote:In the command ON x RESTORE TO label1, label2, ..
Is it allowed to use variables for the labels e.g. Label$(x) :?:
Then the relation between x and Label can be fixed in advance
No, this command accepts direct variables only.

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: 3.1 version

Post by Mr. Kibernetik »

New example file "sprite fall.txt" is added to "Graphics" section:
Снимок экрана 10 дек. 2013 г., 22.18.22 с Симулятора iOS.png
Снимок экрана 10 дек. 2013 г., 22.18.22 с Симулятора iOS.png (190.13 KiB) Viewed 2622 times

Post Reply