Named parameters: Difference between revisions

m
mNo edit summary
Line 708:
 
=={{header|Lingo}}==
Lingo does not support named function parameters. But this can be simulated by using a single property list (hash) with named properties as function argument. You can also create a functionfunctions that eithersupport exceptsboth calling methods, like e.g. this function that accepts either 3 integers or a single property list with such named properties:
<lang lingo>-- accepts either 3 integers or a single property list
on foo (arg1, arg2, arg3)
Anonymous user