Multiple scripting Languages in One Page"
From Documentation
Maya001122 (talk | contribs) m (Created page with '{{ZKDevelopersGuidePageHeader}} Each scripting language is associated with one interpreter. Thus, variables and methods defined in one language are not visible to another langua…') |
m (correct highlight (via JWB)) |
||
Line 1: | Line 1: | ||
{{ZKDevelopersGuidePageHeader}} | {{ZKDevelopersGuidePageHeader}} | ||
− | Each scripting language is associated with one interpreter. Thus, variables and methods defined in one language are not visible to another language. For example, < | + | Each scripting language is associated with one interpreter. Thus, variables and methods defined in one language are not visible to another language. For example, <code>var1</code> and <code>var2</code> belong to two different interpreters in the following example. |
<source lang="xml" > | <source lang="xml" > |
Latest revision as of 10:35, 19 January 2022
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>