Project

General

Profile

Actions

Bug #325

open

Functions with floating point results lock up AOZ. Also, Integer functions return floating point results!

Added by Brian Flanagan over 4 years ago. Updated about 4 years ago.

Status:
Feedback
Priority:
Normal
Target version:
-
Start date:
03/31/2020
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

No error displays, but AOZ locks up.
You can't even break out with Ctrl-C!

Example 1:

' 
' This fails
'
Function "mult#", _num1#, _num2#
End Function ( _num1# * _num2# )

Result is that AOZ locks up at black screen. Can't break out.

Example 2: (Even the simplest floating point function will fail at runtime.)

'
' Return self
'
Function "slf#", _num#
End Function ( _num# )

Example 3:

'
' This integer function works (but gets wrong result)
'
Function "mult", _num1#, _num2#
End Function ( _num1# * _num2# )

Result: (What the floating point function SHOULD have returned!)

29.20999999999997

Result SHOULD be:

29

Perhaps something is reversed between the integer and floating point results?

Actions

Also available in: Atom PDF