Build an executable flowchart from READ, EXPRESSION, DECISION, WRITE, and INTERSECTION blocks. Connect the blocks from START to END, then run the whole diagram or advance one block at a time.
.save flowchart files.First, right-click the READ block and choose Variable Name. Use a JavaScript-style identifier such as age, total_1, or $price. Names cannot contain spaces or start with a number. Avoid reserved values such as Array, true, false, and null.
When the block runs, enter a value or expression in the prompt. Values use JavaScript-style syntax and are evaluated by the tool's restricted expression engine.
| Wanted value | Enter in the prompt | Notes |
|---|---|---|
| Integer | 42 | Negative values also work: -7 |
| Decimal | 3.14 | Use a dot, not a comma. Scientific notation works: 1e3 |
| Text | "Ana" | Text must be inside single or double quotes |
| Text containing quotes | "Ana said \"yes\"" | Escape a matching quote with \ |
| Boolean | true | Use lowercase true or false |
| No value | null | undefined is not supported |
| Number array | [4, 5, 3, 6] | Use square brackets and commas |
| Text array | ["Ana", "Ion"] | Every text item needs quotes |
| Nested array | [[1, 2], [3, 4]] | Array elements may be arrays or expressions |
| Calculated value | price * quantity | Previously read or assigned variables may be used |
| Array element | values[0] | Indexes start at zero; values.length gives the size |
+ - * / % **, comparisons such as <= and ===, logical operators && || !, parentheses, arrays, array indexes, string indexes, .length, assignments such as sum = a + b, and values instanceof Array.
Do not enter bare text such as Ana, comma-only lists such as 1,2,3, object literals such as {name: "Ana"}, function calls, Math.random(), browser APIs, or properties such as constructor. These are intentionally blocked.
values.[4, 5, 3, 6, 2, 7].min = values[0] and i = 1.i < values.length.values[i] < min, assign min = values[i] when true, then use i = i + 1."Minimum = " + min.Tip: An empty prompt is invalid. Pressing Cancel leaves the READ block waiting for a value. JavaScript is used as the familiar syntax model, but only the safe operations listed above are accepted.
Multiple inputs: use one READ block per named value, or read several related values as one array. For example, read a and b separately, or read values as [10, 20].