Call a function: Difference between revisions

m
Fixed Dyalect code sample
(Added Dyalect programming language)
m (Fixed Dyalect code sample)
Line 1,118:
 
<lang Dyalect>func foo(x, y, z) { }
foo(1, 2, 3)</lang>
 
Calling a function with optional arguments:
Line 1,188:
var sub3 = apply(flip(sub), 3)
x = sub3(9) //x is 6</lang>
 
 
 
=={{header|Elena}}==
Anonymous user