Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Optional arguments

From: d4marcus:dtek:chalmers:se at: 19-May-2001 0:54

On Fri, 18 May 2001, Volker Nitsch wrote:
> Have a look at the rebol-style of options, > func[/opt1 arg-opt1 /opt2 arg-opt2 ..] > where no brackets are needed. > Unhandy on console, but otherwise preferable.
Refinements? Yes, usually they make the function clearer. But why should we use two variables for an option where only one is needed? Oh well, it was only an idea. It works, so why not try it some time? Marcus ------------------------------------ If you find that life spits on you calm down and pretend it's raining