> Geoff wrote: > ... you've just given me an idea how to handle things like font/styling > tags. Something like: > function ifTag b,o,s,c > if b then return o & s & c else return s > end ifTag
Allow me two remarks. 1. You could use, in order to avoid the check: function tag s,o,c return o & s & c end tag And both, tag("inner") and tag("inner","left-","-right") work. 2. Also array-things work with merge, like [[a[1]]]. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode