Why this function was not work?

Left hand side fundtion and right hand side function
i think… they are same
but left hand side it does not return value, it was not work
but the other one was work…

Thank you… @_@!

why_not_worked.aia (2.4 KB)

x is only an input parameter...
therefore use a procedure with return value as on the right hand side
see also Procedures

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

Thank you very much ^^

When you get to lists, beware of an important exception ...
Lists are addresses, and the procedure might change the contents of the list, though its address remains unchanged.
Likewise with dictionaries.

1 Like