Ex.
add(1,2)
Ex.
and(true,false)
Ex.
call("someInstance.someObject","someFunction",[param1,param2])
Ex.
check(and(true,false),[set("somevar",1), result(true)],result(false))
Ex.
collect([add(a,b),true,false,"hello"]) // evaluates as [add(a,b),true,false,"hello"]
Ex.
concat("Hello","World")
Ex.
set("obj",create("Object")) // sets context.obj = new Object()
Ex.
div(1,2)
Ex.
eq(1,1)
Ex.
[set("foo","hello"),get("foo")] // get("foo") evalutates to hello
Ex.
gt(2,1)
Ex.
gt(2,1)
Ex.
loop(true,[set("a",1),halt(),set("a",2)]) // context.a evaluates to 1 not 2.
Ex.
[set("i",0),loop(lt(get("i"),10),[set("i",add(get("i"),1))])]loops 10 times.
Ex.
lt(2,1)
Ex.
lte(2,1)
Ex.
mod(2,1)
Ex.
mul(2,1)
Ex.
ne(2,1)
Ex.
not(true)
Ex.
or(true,false)
Ex.
parseInt("1234.5")
Ex.
task([result(1),result(2),result(3)]) // returns 1 the code after are ignored
Ex.
resume()
Ex
set("a.b",1234) // the property b is now 1234, but a should be a valid reference.
Ex.
sub(1,2)
Ex.
task([result(1),result(2),result(3)]) // Javascript: var task = jxn.unmarshall(jsn); task.run()--> 1
Copyright (C) 2007 JXN
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
Michael JacksonĀ© is not affiliated with this project.
Gallium31.com