New function will be added:
LABEL_EXISTS (m$)
returns 1 if label [m$] exists in current scope. Otherwise returns 0.
3.1 version
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 3.1 version
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.
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.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 3.1 version
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.
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.
- Dutchman
- Posts: 851
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
Re: 3.1 version
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
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
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 3.1 version
No, this command accepts direct variables only.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
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 3.1 version
New example file "sprite fall.txt" is added to "Graphics" section: