Interesting I'd forgotten about that idiom, it is different to the
code I previously posted
arg_present = false
for(a in $post_args)
if(~ $n $a)
arg_present=true
if(~ $arg_present false)
post_args=($post_args $n)
which (when I remembered flag) I just refactored into :
flag p +
for(a in $post_args)
~ $1 $a && flag p -
if(flag p)
post_args=($post_args $1)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"werc" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/werc9?hl=en
-~----------~----~----~----~------~----~------~--~---