Changeset 182 for trunk/thune/doc
- Timestamp:
- 06/11/06 04:56:12 (3 years ago)
- Files:
-
- 1 modified
-
trunk/thune/doc/UserManual (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/thune/doc/UserManual
r181 r182 188 188 iff (logic -- ) Evaluate next value if false. 189 189 either (logic t-val f-val -- ) Evaluate either t-val or f-val. 190 while (body cond -- ) Evaluate body while cond is true. 191 loop (block n -- ) Repeat block **n** times. 190 forever (block -- ) Evaluate block until exception thrown. 192 191 iter (ser body -- ) Iterate over series. 193 each (ser body -- ) Iterate over series and take first element.194 foreach (ser words body -- ) Iterate over series and assign elements.195 192 proc (body -- ) Create procedure. 196 193 func (sig body -- ) Create function with local values. … … 202 199 throw (val -- val) Throw exception. 203 200 try (body catch -- ) Try body and catch exception. 201 break ( -- 'break) Break from forever & iter. 204 202 error (message -- error) Throw error. 205 203 verify (a type -- a) Throw error if datatype does not match. … … 214 212 Word Stack Usage Function 215 213 ======== ========================= ============================ 214 each (ser body -- ) Iterate over series and take first element. 215 foreach (ser words body -- ) Iterate over series and assign elements. 216 while (body cond -- ) Evaluate body while cond is true. 217 loop (block n -- ) Repeat block **n** times. 216 218 proc.env (env body -- proc) Create procedure with context. 217 219 ======== ========================= ============================
