home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp48
- Path: sparky!uunet!tcsi.com!iat.holonet.net!brianw
- From: brianw@iat.holonet.net (Brian Walsh)
- Subject: Re: Cliff Stern's Little Challenges
- Message-ID: <BxGoto.CIo@iat.holonet.net>
- Organization: HoloNet (BBS: 510-704-1058)
- References: <721197246detlef.detlef@dmhh.hanse.de>
- Date: Mon, 9 Nov 1992 18:32:10 GMT
- Lines: 26
-
- detlef@dmhh.hanse.de (Detlef Mueller) writes:
- : But Brians modified 2nd solution is 6 bytes shorter:
- :
- : %%HP: T(3)A(D)F(.);
- : \<<
- : "\->" 1 ROT
- : FOR i
- : " " +
- : i "`" NUM SWAP OVER + CHR +
- : NEXT
- : "\<<HALT" + STR\->
- : \>>
- : 79.5 bytes
-
- Nice improvement, but it doesn't work on my 48. Here's one that does:
-
- %%HP: T(3)A(D)F(.);
- \<< "\->" 1 ROT
- FOR i " " + i SWAP OVER "`" NUM + CHR +
- NEXT "\<<HALT" + STR\->
- \>>
- 79.5 bytes
-
- -- Brian Walsh
- brianw@holonet.net
-
-