Brian Yennie wrote:
Just for fun, an alternate method which never leaves trailing commas and respects the itemDelimiter:

on AddItem @pVar, pItem
    if (pVar is not empty) then put the itemDelimiter after pVar
        put pItem after pVar
end AddItem

And then there's the ever so easy to use:

 put pItem into item (the number of items in pVar) + 1 of pVar

which hardly anyone uses because it's such a pain to type. But I've started using it again lately because if you do it that way, you don't have to worry about leading, trailing, or any other kinds of delimiters. The engine handles it all and it just works.

--
Jacqueline Landman Gay         |     [EMAIL PROTECTED]
HyperActive Software           |     http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to