Changeset 510 for trunk/thune/doc/UserManual
- Timestamp:
- 02/10/08 23:53:46 (9 months ago)
- Files:
-
- 1 modified
-
trunk/thune/doc/UserManual (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/thune/doc/UserManual
r509 r510 364 364 either (logic t-val f-val -- ) Evaluate either t-val or f-val. 365 365 forever (block -- ) Evaluate block until exception thrown. 366 loop_ (block n -- ) Repeat block **n** times. 367 loop_ (block n limit -- ) Repeat block **n** to **limit** times. 366 368 iter (ser body -- ) Iterate over series. 367 369 iter/N (ser body -- ) Iterate over series with skip. … … 393 395 each.set (ser words body -- ) Iterate over series and assign elements. 394 396 while (body cond -- ) Evaluate body while cond is true. 395 loop (block n -- ) Repeat block **n** times.396 397 loop.to (block n limit -- ) Repeat block **n** to **limit** times. 397 398 proc.env (env body -- proc) Create procedure with private context. … … 632 633 633 634 635 loop 636 ---- 637 :: 638 639 (block int -- ) 640 (block int int -- ) 641 642 The first form simply evalutes the body block a given number of times. 643 644 The second form pushes the counter value onto the stack before each loop, 645 and stops when the limit is reached. 646 647 Example:: 648 649 )> [.] -2 2 loop 650 -2 651 -1 652 0 653 1 654 634 655 635 656 Data Manipulation Functions
