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

Re: Apple ][ prompts?



Dave Althoff (dalloff@freenet.columbus.oh.us) wrote:
: Nathan Mates (nathan@visi.com) wrote:
: : In article <Pine.SOL.3.91.970727111659.12892B-100000@winnie.freenet.mb.ca>,
: : Doug Browning  <vgt507@freenet.mb.ca> wrote:
: : >You forgot Applesoft executing an input command: ?.

: :    D'Oh! Shows how long it's been since I regularly used INPUT (and the
: : rest of Applesoft for that matter). On the other hand, I was severely
: : tempted to put in Orca/Shell's # prompt. [Which is more of a rootshell
: : prompt to me nowadays, but ... :]

: Well, Nathan, I'm a longtime Applesoft programmer and I missed that one
: too.  Why?  Because I haven't written a program with 'INPUT V$' or
: something similar in it in a very long time.  On the rare occasion that I
: do use INPUT it is usually 'INPUT "";Q1$' which suppresses the '?' prompt...

Of course, this prompt is customizable, changeable by POKEing a the ASCII
value of the new prompt into a certain zero-page location.  So, in effect,
EVERY ASCII character is a prompt for the BASIC INPUT command.

--
__ __|_) |       |                    
   |   | |  _` |   \   ` \   _` |   \ 
  _|  _|_|\__, |_| _|_|_|_|\__,_|_| _|
          ____/