From: 101.165571@germanynet.de (Raymond Hellstern)
Newsgroups: comp.sys.hp48
Subject: The shortest YESNO: HERE IT IS...ASC'ed
Date: 27 Jun 1998 22:04:48 GMT
Organization: germany.net Onlinesysteme
Lines: 95
Message-ID: <6n3qa0$hmc$1@newshost.germany.net>
NNTP-Posting-Host: frankfurt.germany.net
Xref: republic.btigate.com comp.sys.hp48:12586

Hi,

first I want to thank all the people who emailed me and aked for the 
little program.
I'm sorry for the delay but some friends moved to another place in
town and needed assistance.
I now have ->ASC from Kerstin + Peter Karp from cologne
(my former living place;-)

There are two versions of YESNO.
They both expect no parameters and return one (YesNo2) or up to
two results (YesNo).
You can set up the display to ask the user a question like in the
following two examples.

The first one is the SysRPL version which shows a text in the display,
then calls YesNo:

::  CK0 RECLAIMDISP $ "Store Data ?" BIGDISPROW2 ID YesNo

* From here you can evaluate the result(s) from YesNo (see stack 
diagram)
;



The second version is for the UserRPL version:

\<< CLLCD "Store Data ?" 2 DISP YesNo2

@ From here you can evaluate the result from YesNo2 (see stack diagram)
\>>



Stack diagrams:

YesNo	w/SysRPL interface	(15 bytes)

( --> T | T F | F F )

Key pressed:
	ATTN	-->	TRUE
	NO	-->	FALSE FALSE
	YES	-->	TRUE FALSE



YesNo2	w/UserRPL interface	(27.5 bytes)

( --> %0 | %1 | %2 )

Key pressed:
	ATTN	-->	%0
	NO	-->	%1
	YES	-->	%2



Here are the ASC'ed versions:

YesNo
"D9D20E1A8151F711BF7144193B21306CA0"


YesNo2
"D9D20E1A8151F711BF7144193399164B2A239916ED2A29C2A2B213047DB"


Any questions ? Email address below;-)


Greetings

Raymond

Raymond Hellstern -Magic48ges- Email: 101.165571@germany.net
