http://support.aoz.studio/http://support.aoz.studio/favicon.ico?15768443862022-01-20T19:45:39ZAOZ Studio official issue tracking systemAOZ Studio Beta - Bug #882: For loop fails if Step is set using hex or a binary *constant*http://support.aoz.studio/issues/882?journal_id=26552022-01-20T19:45:39ZDavid Baldwin
<ul></ul><p>Why would you do that Brian? ;)</p>
AOZ Studio Beta - Bug #882: For loop fails if Step is set using hex or a binary *constant*http://support.aoz.studio/issues/882?journal_id=26682022-02-13T17:57:59ZDavid Baldwin
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li></ul> AOZ Studio Beta - Bug #882: For loop fails if Step is set using hex or a binary *constant*http://support.aoz.studio/issues/882?journal_id=26732022-02-17T07:04:44ZBrian Flanagan
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Feedback</i></li><li><strong>Affected version</strong> changed from <i>1.0.0 (B11) u17</i> to <i>1.0.0 (B12) u19</i></li></ul><p>Still fails. (re-tested in newest 1.0.0 (B12) u19 version (as of 2/16/2022)</p>
<p>Loop still continues beyond the limit.<br>
Here's another example:</p>
<pre>
gbStart=$E1E1
gbEnd=$FFFF
gbStep=$202
Print Using "Start: -##########";gbStart
Print Using "End: -##########";gbEnd
For gb=gbStart To gbEnd Step $202
Locate 0,3
Print Hex$(gb,6);
Print Using "-##########";gb;
If gb > gbEnd Then Locate 20,1 : Print Using "< -##########";gb
Wait 0.3
Next gb
</pre>
<p>Why? For some applications, it's easier to do things in Hex!</p>
AOZ Studio Beta - Bug #882: For loop fails if Step is set using hex or a binary *constant*http://support.aoz.studio/issues/882?journal_id=27362022-06-29T08:55:09ZFrancois Lionet
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li></ul><p>Seems fixed!</p>