Re: A86: Input doubt


[Prev][Next][Index][Thread]

Re: A86: Input doubt




At 04:57 PM 1/14/98, you wrote:
>
>I'm making a program in ASM which BASIC equivalent is:
>
>PROMPT A,B,C
>(2A+B)/(.75C)->H
>DISP H
>
>How can I do this?
>
>

look at the zreduce source for the input routines, its like 3 lines towards
the beginning.  than just use _OP math routines to do the math.  then use
the zreduce routine to display _OP1, or the routine to disp A or HL (in
some of Ahmed El-Helw's games).  good luck.

Robby Gutmann
gutmann@planet-connect.com
ICQ UIN: 724927      Agonostis on IRC

"Let's just say that if complete and utter chaos was lightning,
he'd be the sort to stand on a hilltop in a thunderstorm wearing
wet copper armour and shouting 'All gods are bastards'."
	-- Rincewind discussing Twoflower
	   (Terry Pratchett, The Colour of Magic)


References: