Forum OpenACS Development: Re: Photo-Album Includelet for Xowiki

Collapse
Posted by Jim Lynch on
If this:

{avatar 80,thumbnail 150,view 500}

is looked upon as a string, then it would need parsing to take apart into its elements.

If it's (interpreted as) a tcl list, the items (4) are:
- avatar
- 80,thumbnail
- 150,view
- 500
because a tcl list is delimited by space.

Notice in Dave's function he's actually constructing a list to return. Dave, is there another function that takes this list and does something with it?

If the answer is yes, then having a different form would involve conversion from the list Dave returns, and also conversion to it.

Richard, is what you want for this to be more englishlike and more readable?

-Jim