lout-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another likely noobish question re. named parameters


From: Jeff Kingston
Subject: Re: Another likely noobish question re. named parameters
Date: Tue, 5 Jun 2012 08:40:10 +1000
User-agent: Mutt/1.4i

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?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]