From: dberge@mx2.redestb.es.DBERGE (Diego Berge)
Newsgroups: comp.sys.hp48
Subject: Re: confirmYN -- Simple Confirmation Function.
Date: 21 Jun 1998 13:53:24 GMT
Organization: Telefonica Transmision de Datos
Lines: 26
Message-ID: <6mj38k$3gi$1@diana.bcn.ibernet.es>
References: <6mf70c$nlg$1@diana.bcn.ibernet.es>
NNTP-Posting-Host: ppp41.198.redestb.es
Mime-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
X-Newsreader: WinVN 0.99.9 (Released Version) (16bit)
Xref: republic.btigate.com comp.sys.hp48:12314

Hi,

   Last night Joe K. Horn send to me the routine that 'Try to Recover Memory?' 
uses to display its Yes/No menu, which allowed me to drastically shrink my 
'confirmYN' function from 352 to 42.5 bytes! I'm posting the new version here 
for y'all to enjoy. Thank Joe for the extra room :)

%%HP: T(3)A(G)F(.);
"D9D20ECE81D0040D9D20A64059FF3053040EC4A3F229351F711BF71441933991
64B2A2E0835B2130B213076BD"

Chksum: #56167d #DB67h
Bytes:    42.5

   Makes a difference, huh?

   As a side note, I'd like to say that the original code would be shorter 
(some 80 bytes shorter) if it weren't that it uses three 8*21 grobs for the 
menu keys. The intention was that it didn't look too much like the TRM? 
prompt, thinking that it possibly could create a subtle sense of anguish on 
the user if it did --IMO, of course-- Anyway, I no longer think this is worth 
the extra bytes.

Take care,
Diego Berge.
