Re: Arguments before or after command?
[email protected] (Ludovic Courtès)
| Newsgroups | gmane.comp.type-setting.lout |
|---|---|
| Message-ID | <[email protected]> |
Hi Cédric, and welcome! Cedric Sodhi <[email protected]> skribis: > What doesn't quite seem to fit in with Lout being a clean, consistent > language is how arguments are passed to @Commands . By which logic do > commands take arguments { Before } @TheCommand or @TheCommand { And then > the Argument } or even > > @TheCommand { And then } { multiple } { Arguments } ? Actually, functions can take left, right, body, or named arguments (so the above example is wrong: there can’t be more than one argument on the right.) Chapter 2 of the Expert’s Guide explains all this in detail. Hope this helps, Ludo’.