AOZ Studio official issue tracking system: Issueshttp://support.aoz.studio/http://support.aoz.studio/favicon.ico?15768443862022-12-03T18:13:07ZAOZ Studio official issue tracking system
Redmine AOZ Studio Beta - Bug #961 (Resolved): On Error Goto and On Error Proc are NOT working.http://support.aoz.studio/issues/9612022-12-03T18:13:07ZBrian Flanagan
<p>The On Error Goto or On Error Proc statements do not produce an error in and of themselves, however, if an error occurs, instead of going to the error handler, AOZ returns an Internal Error</p>
<p>Example:</p>
<pre>On Error Goto ErrorHandler
Print ACos(1.1)
Print ACos(-1.1)
Print ASin(2)
Print ASin(-2)
Print 12/0
End
ErrorHandler:
Print Errn,Err$
</pre>
<p>NOTE: If you comment the <strong>On Error</strong> statement, you'll see the math errors.<br>
NOTE2: If you keep the <strong>On Error</strong> statement, and comment the errant math functions instead, the program works.</p>
AOZ Studio Beta - Bug #960 (Resolved): Sometimes AOZ gets stuck running the PREVIOUS program tran...http://support.aoz.studio/issues/9602022-12-03T17:43:46ZBrian Flanagan
<p>Probably related to bug <a class="issue tracker-1 status-5 priority-2 priority-default closed" title="Bug: Compile to AOZ-TV gets stuck on previous program. (Closed)" href="http://support.aoz.studio/issues/391">#391</a> </p>
<p>Sometimes AOZ gets stuck running the PREVIOUS program transpiled.<br>
It does the same thing with both the AOZ Viewer, as well as transpiling to the web browser.</p>
<p>No matter what program I have open, AOZ re-runs the previous programs transpiled.</p>
<p>When this happens, it appears that closing and re-opening AOZ corrects the problem.</p>
<p>This is intermittent. It may be difficult to reproduce.</p>
<p>Tested in new vesion of AOZ from .git as of 11/27/2022.</p>
AOZ Studio Beta - Bug #959 (New): Boolean function results are not working on If statement.http://support.aoz.studio/issues/9592022-12-03T17:34:13ZBrian Flanagan
<p>Example:</p>
<pre>Function CantMoveDown
End Function(True)
// This code fails
Procedure MoveDown
Print CantMoveDown
If CantMoveDown
Say "cannot"
End If
If Not CantMoveDown
Say "can"
End If
End Procedure
/*
// This code works
Procedure MoveDown
Print CantMoveDown
If (CantMoveDown=True)
Say "cannot"
End If
If Not (CantMoveDown=True)
Say "can"
End If
End Procedure
*/
Print "Waiting..."
Do
Wait Key
MoveDown
If Upper$(Inkey$)="Q" Then Exit
Loop
End
</pre>
<p>If you comment the first procedure version, and uncomment the second, you'll find that if you <em>explicitly</em> check the value <br>
of true or false, it works, but apparently the If statement does not evauluate the value of a simple boolean result properly.</p>
<p>This was tested using the newest source from .git as of 11/27.</p>
AOZ Studio Beta - Bug #900 (Resolved): Many math errors generate NaN instead of a proper ERRN, ER...http://support.aoz.studio/issues/9002022-06-17T04:16:33ZBrian Flanagan
<p>For On Error to work properly we need the errors to be available via ERRN, ERR$, etc.<br>
For example:</p>
<p>ASin() and ACos() used with invalid values, or dividing by 0, all should produce errors, but instead they produce NaN!</p>
<pre>Print ACos(1.1)
Print ACos(-1.1)
Print ASin(2)
Print ASin(-2)
Print 12/0
</pre>
<p>Each of these should produce the proper values in ERRN & ERR$ so errors can be handled via On Error, etc.</p>
AOZ Studio Beta - Bug #880 (New): Multiple Word searches no longer work when searching for help.http://support.aoz.studio/issues/8802021-12-21T12:02:38ZBrian Flanagan
<p>I can now type "Length" and get all commands relating to Length. <br>
That's wonderful, however, I can't type "Text Length" or Zones Length" or "Frame Length" to get a specific result any more.</p>
AOZ Studio Beta - Bug #879 (Resolved): Gosub / Goto sometimes fails when numbered label reference...http://support.aoz.studio/issues/8792021-12-14T03:44:45ZBrian Flanagan
<p>Related to bug <a class="issue tracker-1 status-5 priority-3 priority-highest closed" title="Bug: Gosub and Goto using variable fails (integer or string) (Closed)" href="http://support.aoz.studio/issues/399">#399</a> (which has been resolved).</p>
<p>For example:</p>
<pre>X=10
Gosub 10*X
Print "no error"
End
100 Print "test sub"
Return
</pre>
<p>The above code fails to transpile with t label not defined at line 2.</p>
<p>If, however, I start the equation with X, it works:</p>
<pre>X=10
Gosub X*10
Print "no error"
End
100 Print "test sub"
Return
</pre> AOZ Studio Beta - Bug #823 (Resolved): The Play command makes no sound.http://support.aoz.studio/issues/8232021-09-17T21:19:32ZBrian Flanagan
<p>No error is produced, however, no sound is generated.<br>
Problem occurs in both manifests.</p>
<p>For example (from page 08.01.04 of AMOS Pro manual:</p>
<pre>Play 1,40,0 : Play 2,50,0 : Rem no delay
Wait Key
Play 1,40,15 : Play 2,50,15 : Rem delay
Rem Play a random sequence of notes
Do
V=Rnd(15) : P=Rnd(96) : Play V,P,3
Print V,P
Wait 30
Loop
End
</pre>
<p>NOTE: I added the Wait 30 to make sure the program didn't run too fast.</p>
AOZ Studio Beta - Bug #776 (Resolved): Filesystem: Append not working.http://support.aoz.studio/issues/7762021-06-11T05:40:40ZBrian Flanagan
<p>The following example generates an Internal Error at the <strong>Close 1</strong> statement: </p>
<pre>Append 1,"info.txt" ' Should open info.txt on the default file system if it exists, or create it if it doesn't.
Print #1,"APPENDED" ' Write something to the file.
Close 1 ' Close the file (Get Internal error here)
</pre>
<p>I tested this where info.txt <strong><em>does</em></strong> exist, and can be read using <strong>Open In 1</strong> and <strong>Line Input <a class="issue tracker-1 status-5 priority-2 priority-default closed" title="Bug: if Amreg(13) < 0 (Closed)" href="http://support.aoz.studio/issues/1">#1</a>,X$</strong></p>
AOZ Studio Beta - Bug #774 (In Progress): Functions are not shown properly in the "Instant" help....http://support.aoz.studio/issues/7742021-06-09T11:53:56ZBrian Flanagan
<p>For example:</p>
<pre>Screen Colour(n)
</pre>
<p>...is shown in the "Instant" help as:</p>
<pre>Screen Colour n
</pre>
<p>Omitting the parentheses in the example could be quite confusing!<br>
This particular example could be even more confusing, because a * appears in the example><br>
(See screen snapshot.)</p>
<p>ALL of the functions for the "Instant" help need to be corrected to include the parentheses!</p>
AOZ Studio Beta - Bug #753 (Resolved): CyBall fails after opening screen.http://support.aoz.studio/issues/7532021-05-20T06:23:08ZBrian Flanagan
<p>The CyBall (Amiga) demo fails after the opening screen. Goes to black screen.</p>
AOZ Studio Beta - Bug #752 (Resolved): Load Asset fails if a path is specified for the asset.http://support.aoz.studio/issues/7522021-05-20T05:34:36ZBrian Flanagan
<p>For example: In Crunchman Reloaded, audio is loaded from the: "resources/audio/" folder, but AOZ <em>changed</em> that path to "resources/assets/resources/audio/". For example:</p>
<pre>Load Asset "resources/audio/Crunch.wav", 1
</pre>
<p>This results in the following error:</p>
<pre>GET file:///Users/brian/Documents/My%20AOZ%20Applications/AOZ%20Inspirations/Games/Crunchman%20Reloaded/html/resources/assets/resources/audio/Crunch.wav net::ERR_FILE_NOT_FOUND
</pre>
<p>SOLUTION: If a path is given, (not just a filename), "resources/assets" should NOT be inserted into the path.</p>
AOZ Studio Beta - Bug #743 (Resolved): Fix is affecting integers.http://support.aoz.studio/issues/7432021-04-27T08:35:42ZBrian Flanagan
<p>Fix should only affect floating point values:</p>
<p>Example:</p>
<pre>Fix 5
X=12
Y#=12.345
Print X
Print Y#
Add X,3
Print X
</pre>
<p>Currently, the result is:</p>
<pre>12.00000
12.34500
15.00000
</pre>
<p>Result SHOULD be:</p>
<pre>12
12.34500
15
</pre> AOZ Studio Beta - Bug #733 (Feedback): Actor command can't find images in subfolders of AOZ Drive...http://support.aoz.studio/issues/7332021-04-23T06:48:21ZBrian Flanagan
<p>Example:</p>
<pre>Actor "beam",image$="beam.png" // This USED TO work, but now fails with Image Not Defined error.
</pre>
<p>The actual path for the above file is:<br>
<strong>AOZ Drive/resources/images/Asteroids/Magic/beam.png</strong></p>
<p>Actor will only find image files in the root of the images folder:<br>
<strong>AOZ Drive/resources/images</strong></p>
AOZ Studio Beta - Bug #732 (Feedback): While without Wend, For without Next, If without End If di...http://support.aoz.studio/issues/7322021-04-23T06:26:33ZBrian Flanagan
<p>For example:</p>
<pre>If true
x=1
Else
x=2
End
</pre>
<p>The resulting error message in AOZ Messages is:</p>
<pre>Compiling %1
Generating code...
Error: %1 at line 0, column 2, in file IfEndIf.aoz
Task failed, no code generated...
</pre>
<p>On the JavaScript console, however, I get:</p>
<pre>/Users/USERNAME/Documents/My AOZ Applications/Syntax_Error/Syntax_Error.aoz:0:2: error: If without endif
</pre>
<p>...which is almost right except that it points to line 0 as the error line. (should be 1)</p>
<p>I get similar results for <strong>While without Wend</strong>, <strong>For without Next</strong>, etc.</p>
AOZ Studio Beta - Bug #731 (Resolved): Syntax errors now make the transpiler crash.http://support.aoz.studio/issues/7312021-04-23T06:16:43ZBrian Flanagan
<p>Example:</p>
<pre>abcde
</pre>
<p>...should produce a syntax error. Instead the transpiler crashes:</p>
<pre>/users/USERNAME/Documents/My AOZ Applicaitons/Syntax_Error/Syntax_Error.aoz:1:1: Compiler error: crash during compilation: %1
</pre>
<p>Also the message placeholder (%1) is displayed instead of the message.</p>