[Petal] [BUG] xi:includes don't preserve set variables

Steve Purkis spurkis at quiup.com
Thu May 22 17:03:14 BST 2003


On Thursday, May 22, 2003, at 03:31  pm, Jean-Michel Hiver wrote:

>> Hi,
>>
>> This is a bug report for Petal-0.92.  It looks like variables from
>> xi:includes are not being preserved across files.
>
> This has been discussed on the list before. Basically there is a need
> for a 'local' and a 'global' keyword to specify the scope of a 
> variable.
> This is what TALES does, unfortunately it's not yet implemented in
> Petal. Another item on my TODO list...

Now that you mention it, I've fuzzy recollections of something similar 
in the archives...


>> This makes factoring out common chunks of functionality very
>> difficult.
>
> Functionality? Did you say functionality? You're not using Petal for
> anything else than presentational stuff I hope :)

Why, no, of course not! :)
(but you need some functions to do some presentations don't you? :)

-Steve



More information about the Petal mailing list