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

Re: basic on apple //c



"Jacklyn" <country_blonde2003@yahoo.com> wrote in message
b65f6387.0201261713.28fa4c9a@posting.google.com">news:b65f6387.0201261713.28fa4c9a@posting.google.com...
> is there anyone who could send me a list of basic codes i can use on apple
file://c?

I supposed you mean BASIC commands.  For a start you could try the following

CATALOG               :     to display the contents of the disk
PR#6                        :    to boot disk
PR#3                        :    goto 80 column mode
LOAD  <filename>  : load a BASIC program from disk
SAVE  <filename>   : save the BASIC you are writing to disk.
LIST                          ; list the whole program

To write a BASIC program you'll need:

PRINT                 : print something
IF....THEN          :decision making
FOR....NEXT      :conditional looping
CHR$(A)            : display the ascii of number A
HOME                ;clear the screen
GOTO <line number>    ; jump to a line in BASIC
LEFT$(X$,L),  MID$(X$,A,B),  RIGHT$(X$, L) :  for string manipulation.
...................
and many others.  But for the time being try this program:

10 HOME
20 FOR I=0 TO 255
30 PRINT CHR$(I);
40 NEXT
50 GOTO 20

You can stop the program by pressing control/C.


Allen.