From Documentation

Jump to: navigation, search

Ruby, Groovy and JavaScript interpreters don't support multi-scope yet[1]. It means all variables defined in, say, Ruby are stored in one logical scope (per interpreter). Thus, the interpreter variables defined in one window override those defined in another window if they are in the same page. To avoid confusion, you could prefix the variable names with special prefix denoting the window.

Tip: Each page has its own interpreter to evaluate zscript codes. If a desktop has multiple pages, then it might have multiple instances of the interpreters (per scripting language).


  1. We may support it in the near future.

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