Multiple scripting Languages in One Page"

From Documentation
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, <tt>var1</tt> and <tt>var2</tt> belong to two different interpreters in the following 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

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.