it might come in handy when you have a function, method, sub or anything like, say:
function foobar(foo, bar)
'dostuff
endfunction
you then may use
foobar(something, something_else)
but you can also use the varable names the function uses to assing a value to them:
foobar(foo:=something, bar:=something_else)
this actually sounds really stupid and just adds typing but anyway you are not bound to use the proper order of the variables:
foobar(bar:=something_else, foo:=something)
would actually do the samething where
foobar(something_else, something)
would not :)
if I remember well I used this already in vb5. it's handy if you've got function which expect a load of variables and you only want to use a few. Also handy if you change the order of the variables later on, you don't have to go over all your code to change everything (alltough I find it really good practice).
function foobar(foo, bar)
'dostuff
endfunction
you then may use
foobar(something, something_else)
but you can also use the varable names the function uses to assing a value to them:
foobar(foo:=something, bar:=something_else)
this actually sounds really stupid and just adds typing but anyway you are not bound to use the proper order of the variables:
foobar(bar:=something_else, foo:=something)
would actually do the samething where
foobar(something_else, something)
would not :)
if I remember well I used this already in vb5. it's handy if you've got function which expect a load of variables and you only want to use a few. Also handy if you change the order of the variables later on, you don't have to go over all your code to change everything (alltough I find it really good practice).