Richard Gaskin wrote:
Here's a lil' gem that's radically simplified a lot of my code:
function q s return quote& s "e end q
To call it:
put "I said, "& q("Let's go!")
...as opposed to:
put "I said, "& quote&"Let's go!""e
A small improvement, but a but more pleasing to the tired eye. :)
I find this nifty as hell. A lil' gem indeed. To take revenge on my struggles with quotes in the past I wrote:
on mouseUP
put "I quote, therefore I am." into tMessage
repeat 8 times
put q(tMessage) into tMessage
end repeat
put tMessage into field 1
end mouseUP
function q s return quote& s "e end q
And in field 1 I took some perverse satisfaction in finding: """"""""I quote, therefore I am.""""""""
Jim _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
