Functions, Classes, Threads and Eval
This article discusses user functions, classes, threads and dynamic
evaluation. Variable scope is an important topic and many things are
cleared here. JudoScript supports lambda functions, or anonymous functions,
and function variables; these are useful for, say, array sorting and
filtering. Also supported is aliasing for Java class static methods.
System functions are generally discussed. JudoScript threads are declared
like functions and started with start thread. Dynamically
created code can be evaluated either locally with eval or
separately with evalExternal and evalFile.