Re: Another likely noobish question re. named parameters

"Valeriy E. Ushakov" <[email protected]>
Newsgroups gmane.comp.type-setting.lout
Message-ID <[email protected]>
On Mon, Jun 04, 2012 at 13:59:27 -0700, Michael Koehmstedt wrote:

> I'm getting an error from even the simplest definition that has a named
> parameter. Test program:
> 
> @SysInclude { doc }
> 
> def @Blah
>   left x
>   right y
>   named @Hiya {}
> {y}
> 
> @Doc @Text @Begin
> @End @Text
> 
> Giving me an error 6,3: fatal error: opening left brace or @Begin of @Blah
> expected.
> 
> What am I doing wrong this time?

Parameter should be declared in left/named/right order.

Hmm, this doesn't seem to be actually documented anywhere. :)

-uwe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.