Call a function: Difference between revisions

Content added Content deleted
(Added Quackery.)
Line 1,555:
 
<lang Dyalect>//There is no difference between subroutines and functions:
func foo() { } //doesn't explicitelyexplicitly return something (but in fact returns nil)
func bar(x) { return x * 2 } //explicitelyexplicitly returns value (keyword "return" can be omitted)</lang>
 
Stating whether arguments are passed by value or by reference: