On 1/11/06 4:26 PM, "Raymond Griffith" <[EMAIL PROTECTED]> wrote:
>  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.

Agreed, although I usually use the backquote (`) symbol (same as the tilde
key, but without the shift) because (a) I never use it for other things, (b)
it is *sort of* like a quote, and (c) it is what SuperCard uses  in their
merge function to replace a quotation mark (wish we had *this* in Rev's
merge function!).

Anyway, a good suggestion in any event...

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]

_______________________________________________
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