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

Re: Applesoft commands



In article <52pfml$6m3@nonews.col.hp.com>,
Warren Tustin <warren@col.hp.com> wrote:
>My in-laws bought a AppleIIc for $5 recently and needed a simple database
>program for keeping track of my Mother-in-laws antiques.  I tried looking
>at some of the disks that were thrown in to figure out the Applesoft
>Basic language.  Do you really do disk accesses with chr$(4)+"open filename"
>etc..?? 

   Yes. That was because Basic was written to be independent of the
OS, and the OS basically intercepts prints to see if it's an OS
call. Control-D (chr$(4)) was chosen as the prefix to all OS calls.

> The FAQ doesn't have a pointer to the applesoft basic command set
>(It didn't come with any manuals).  Does someone have a list of commands?
>I can't figure out renumber (is this part of the basic BASIC?).  

   There've been a lot of good books written on that subject; look
around a used bookstore for a bunch of old ones. [Yes, I should get
around to adding in a pointer to a list of Basic commands; that'll
happen one of these weeks.]

   Renumber is useful mostly only for renumbering programs; if you
wrote your program with enough spacing between lines (i.e. increment
by 10 or so) you'll rarely have any need of it.

Nathan Mates
--
<*> Nathan Mates http://www.visi.com/~nathan/      <*>
# What are the facts? Again and again and again-- what are the _facts_?
# Shun wishful thinking, avoid opinion, care not what the neighbors
# think-- what are the facts, and to how many decimal places?  -R.A. Heinlein