Actions
Bug #367
closedCompile error when directly calling a Procedure with more then 1 argument
Start date:
05/10/2020
Due date:
% Done:
0%
Estimated time:
Affected version:
Description
If you call a procedure with more then 1 argument directly there is a compile error eg :-
Procedure MyFunc[A, B]
c = A * B
End Proc[c]
Print MyFunc[2, 3]
Throws the error "Pass: 1 Cannot read property '0' of undefined as information.getOperand (information.js:425:74)
You can work round this by using the param return eg :-
Procedure MyFunc[A, B]
c = A * B
End Proc[c]
MyFunc[2, 3]
Print param
Actions