Here’s my silly contribution.   How many times do we write something like this:

put “Are you sure you want to delete the image” && quote & myImageName & quote 
&& “?” into tPrompt

I have a simple q() function in all my projects:

function q inData
  return (quote & inData & quote)
end q

Now, I can simply do this:

put “Are you sure you want to delete the image” && q(myImageName) & “?” into 
tPrompt

Tiny, but mighty.   :)

-Dan
_______________________________________________
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

Reply via email to