| 183 | | ======= ========================= ============================ |
| 184 | | Word Stack Usage Function |
| 185 | | ======= ========================= ============================ |
| 186 | | ift (logic -- ) Evaluate next value if true. |
| 187 | | iff (logic -- ) Evaluate next value if false. |
| 188 | | while (body cond -- ) Evaluate body while cond is true. |
| 189 | | loop (block n -- ) Repeat block **n** times. |
| 190 | | iter (block ser -- ) Iterate over series. |
| 191 | | proc (body -- ) Create procedure. |
| 192 | | func (sig body -- ) Create function with local values. |
| 193 | | return () Leave function. |
| 194 | | recurse () Start function from beginning. |
| 195 | | do (a -- ) Evaluate. |
| 196 | | select (data options -- match) Choose option which matches data. |
| 197 | | case (data options -- ) Evaluate option which matches data. |
| 198 | | throw (val -- val) Throw exception. |
| 199 | | error (message -- error) Throw error. |
| 200 | | try (body catch -- ) Try body and catch exception. |
| 201 | | ======= ========================= ============================ |
| | 183 | ======== ========================= ============================ |
| | 184 | Word Stack Usage Function |
| | 185 | ======== ========================= ============================ |
| | 186 | ift (logic -- ) Evaluate next value if true. |
| | 187 | iff (logic -- ) Evaluate next value if false. |
| | 188 | while (body cond -- ) Evaluate body while cond is true. |
| | 189 | loop (block n -- ) Repeat block **n** times. |
| | 190 | iter (block ser -- ) Iterate over series. |
| | 191 | proc (body -- ) Create procedure. |
| | 192 | func (sig body -- ) Create function with local values. |
| | 193 | return () Leave function. |
| | 194 | recurse () Start function from beginning. |
| | 195 | do (a -- ) Evaluate. |
| | 196 | select (data options -- match) Choose option which matches data. |
| | 197 | case (data options -- ) Evaluate option which matches data. |
| | 198 | throw (val -- val) Throw exception. |
| | 199 | error (message -- error) Throw error. |
| | 200 | try (body catch -- ) Try body and catch exception. |
| | 201 | ======== ========================= ============================ |
| | 202 | |
| | 203 | |
| | 204 | Flow Helpers |
| | 205 | ~~~~~~~~~~~~ |
| | 206 | |
| | 207 | ======== ========================= ============================ |
| | 208 | Word Stack Usage Function |
| | 209 | ======== ========================= ============================ |
| | 210 | proc.env (env body -- proc) Create procedure with context. |
| | 211 | ======== ========================= ============================ |