Code: Select all
Procedure LOGICAL(a, b)
ProcedureReturn b
EndProcedure

Code: Select all
Procedure LOGICAL(a, b)
if a = b : ProcedureReturn #True : EndIf
EndProcedure
delta = (Not LOGICAL(1, 1))
Debug delta
Code: Select all
Procedure LOGICAL(a, b)
ProcedureReturn b
EndProcedure
Code: Select all
Procedure LOGICAL(a, b)
if a = b : ProcedureReturn #True : EndIf
EndProcedure
delta = (Not LOGICAL(1, 1))
Debug delta
So, isn't a bug when compiler doesn't do required checks for enforcing syntax rules ? I'm out of words here.No, because it's not a bug if you don't do what the manual says
Honestly ? Me too.And I feel like I'm feeding the troll here.
Then, if it isn't intended behavior, thread should be moved back to "Bug Reports", right ?If it works, it's just a fluke.