Re: Another likely noobish question re. named parameters

Jeff Kingston <[email protected]>
Newsgroups gmane.comp.type-setting.lout
Message-ID <[email protected]>
Michael,

Named parameters are declared after any left parameter and before
any right or body parameter.  The error message is saying that at
the point where "named" occurs in your code, Lout is expecting {
or @Begin.

Jeff

On Mon, Jun 04, 2012 at 01:59:27PM -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?
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.