Raymond Griffith wrote:
Try this:

 put "Core.pick(*Pick a Boy:*,[*Manny*,*Moe*,*Jack*])" into js
 do replacetext(js,"*",quote) as javascript
 put the result

This is a favorite trick of mine. Having to put in all those &quotes and
commas into a do-statement is tedious, and often makes the script
unreadable. Using an unneeded symbol in the place of a quote and replacing
it later improves readability tremendously.

Cheers!

Raymond E. Griffith

That's a nice tip Raymond. Worth remembering, and not just for do either as there are numerous situations where this sort of thing happens.

Martin


_______________________________________________
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