Multiple scripting Languages in One Page

From Documentation
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>
<zscript language="JavaScript">
     var2 = 234;
</zscript>



Last Update : 2022/01/19

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