Multiple scripting Languages in One Page

From Documentation
Revision as of 10:35, 19 January 2022 by Hawk (talk | contribs) (correct highlight (via JWB))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Multiple scripting Languages in One Page

Stop.png This documentation is for an older version of ZK. For the latest one, please click here.

Each scripting language is associated with one interpreter. Thus, variables and methods defined in one language are not visible to another language. For example, var1 and var2 belong to two different interpreters in the following example.

<zscript language="Java">
     var1 = 123;
<zscript language="JavaScript">
     var2 = 234;

Last Update : 2022/01/19

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.