Call a function: Difference between revisions

Content added Content deleted
(Merge from Calling functions per deprecate flag)
Line 169: Line 169:
/* subroutines: no such thing. You can goto places, but I doubt that counts. */
/* subroutines: no such thing. You can goto places, but I doubt that counts. */


/* Functions always pass by value. Pointers *sort of* work like references, though. */</lang>
/* Scalar values are passed by value by default. However, arrays are passed by reference. */
/* Pointers *sort of* work like references, though. */</lang>


=={{header|Icon}} and {{header|Unicon}}==
=={{header|Icon}} and {{header|Unicon}}==