Project

General

Profile

Bug #961

On Error Goto and On Error Proc are NOT working.

Added by Brian Flanagan about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
High
Assignee:
AOZ Developers
Target version:
Start date:
12/03/2022
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

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

Example:

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$

NOTE: If you comment the On Error statement, you'll see the math errors.
NOTE2: If you keep the On Error statement, and comment the errant math functions instead, the program works.

#1

Updated by Brian Flanagan about 1 year ago

  • Assignee set to AOZ Developers
  • Affected version set to 1.0.0 (B17)

Tested in newest version from .git as of 11/27/2022.

#2

Updated by Brian Flanagan about 1 year ago

  • Affected version changed from 1.0.0 (B17) to 1.0.0 (B16) u27
#3

Updated by Francois Lionet about 1 year ago

  • Status changed from New to Resolved

Fixed!

Also available in: Atom PDF