@@ -37,27 +37,27 @@ The behavior of the <do as alternateLanguage> command is
3737
3838- On MacOS and OS X systems, the <alternateLanguage> is a script
3939 language (such as AppleScript) supported by the Open Scripting
40- Architecture. The value returned by executing the <statementList >
40+ Architecture. The value returned by executing the <script >
4141 is placed into the <result>.
4242
4343- On Windows systems, the <alternateLanguage> is an "active
4444 scripting" language (such as VBScript) supported by the Windows
4545 Scripting Host. The <result> is set to the value of any global
46- variable called `result` in the <statementList >, or empty if no such
46+ variable called `result` in the <script >, or empty if no such
4747 variable was defined. For example, the following code will show a
4848 dialog box containing "2":
4949
5050 do "result = 1 + 1" as "vbscript"
5151 answer the result
5252
53- Any <statementList > which contains a reference to `WScript` will
53+ Any <script > which contains a reference to `WScript` will
5454 fail to run, because `WScript` objects do not exist in the LiveCode
5555 environment. Put return values in a global `result` variable
5656 instead of using `WScript.Echo`.
5757
5858- In HTML5 applications, "JavaScript" is the only supported
5959 <alternateLanguage>. The <result> is set to the value returned
60- by executing the <statementList >, as long as the value is a scalar
60+ by executing the <script >, as long as the value is a scalar
6161 (a string, number, boolean or undefined). Returning JavaScript
6262 arrays or objects is not supported.
6363
@@ -80,7 +80,6 @@ Changes:
8080 9.0.0
8181
8282References: alternateLanguages (function), result (function),
83- platform (function),
84- command (glossary), file path (glossary),
83+ platform (function), command (glossary), file path (glossary),
8584as (keyword),
86- do (command)
85+ do (command)
0 commit comments