The DO Command

Joseph Martinez developer at
Sat Apr 12 14:57:14 EDT 2008

To save considerable development time, I make extensive use of the "do"
command for creating of an app intended eventually for cross-platform
distribution.  Is this asking for trouble?

I only use "do" with one-line type handlers, such as

Put "put doublespace(fld" && x & ") into fld" && x into tCmd
Do tCmd

The delay in compiling is unnoticable, so that's not a problem. I don't see
a need to specify an alternateLanguageName, so I assume that is an option
and otherwise rev is handling the command internally.

I also see that MacOS (classic) is not listed under "Platform Support" in
the Dictionary, yet it states:
"On Mac OS and OS X systems, the alternateLanguageName is a script language
(such as AppleScript) supported under the Open Scripting Architecture."

Does that mean the do command will not work on MacOS (Version 9) unless an
alternateLanguageName is provided?

Thanks in advance for any advice, Joseph

More information about the Use-livecode mailing list