Project

General

Profile

Bug #462

Float Variables passed to procedure as a parameter aren't handled correctly.

Added by David Baldwin over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
Start date:
09/01/2020
Due date:
% Done:

0%

Estimated time:
1:00 h
Affected version:

Description

Float Variables passed to procedure as a parameter aren't handled correctly.

// If A# is declared in procedure as 0.5, and not passed as a parameter, it works fine
#splashScreen:False
TEST[0.5]
Procedure TEST[A#]
Add A#,0.2
Print A#;" Should be 0.7"
Add A#,-0.2
Print A#;" Should be 0.5 (or at least 0.3 as last add was ignored!)"
End Proc

Also available in: Atom PDF