This page shows how DekiScript statements can be used to compute values.
"Result";
var x = 0;
foreach(var y in [ 1, 2, 3, 4 ]) {
if(y % 2 == 0) {
let x += y;
}
}
x;
Result 6
<ul>
foreach(var x in page.files where string.endswith(x.name, '.gif')) {
<li >
x.name;
</li>
}
</ul>
| File | Version | Size | Modified | |
|---|---|---|---|---|
| ||||
| ||||
Copyright © 2011 MindTouch, Inc. Powered by