[Petal] Re: define question

Corey corey at bitworthy.net
Wed Apr 19 22:29:58 BST 2006


On Wednesday 19 April 2006 14:26, you wrote:
> Scratching my head, wonder why the following doesn't work:
>
> <span petal:define="color 'red'"></span>
>
>
> In other words, I simply want to set a variable to an arbitrary string -
> rather to the result of some method/object/data-structure.
>
> Am I missing something ridiculously obvious?
>

Yes I was...

<span petal:define="color string:red"></span>


... did the trick.

Of course I figure that out the very next moment after sending the
question out!


Cheers,

Corey


More information about the Petal mailing list