home *** CD-ROM | disk | FTP | other *** search
- \ Problem 4.1 04/10/90 14:59:23.41
-
-
- \ a) The execution will enter a endness loop and executes forever.
-
- \ b) All of the three viersions will execute forever.
-
-
- : HSTARS ( n -- )
- 0 ?DO ASCII * EMIT LOOP ;
-
- : VSTARS ( n -- )
- 0 SWAP ?DO CR ASCII * EMIT LOOP ;
-
- : STARS ( n -- )
- DUP 0> IF HSTARS ELSE
- VSTARS THEN ;
-
-