func -- Anonymous function |
Syntax |
Func ... EndFunc returns FUNCTION |
Description |
Example |
/**/ square := Func(x) Return x^2; EndFunc; /**/ square(3); 9 /**/ SortedBy(["zzz", "x", "yy"], Func(x,y) Return len(x)>len(y); EndFunc); ["zzz", "yy", "x"] |
See Also |