IGPAY ATINLAY
This short program converts words or sentences into pig Latin. One
word of caution, though; don't enter any one-letter words like A or I.
10 DIM A $ ( 2 5 6 ) : S = 2
20 ? " T y p e in a word or sentence . Please don't exceed
three lines of text. "
30 INPUT A$
40 FOR X=1 TO LEN(A$)
50 IF A$(X,X)=CHR$(32) THEN PRINT
A $ ( S , X - 1 ) ; A $ ( S - 1 , S - 1 ) ; " A Y " ; " " ; : S = X + 2
66 IF X = L E N ( A $ ) THEN PRINT A $ ( S , X ) ; A$(S-1,S-1); " A Y "
70 NEXT X
80 ? :? :? " T H A T ' S ALL FOLKS! "
GRAPHEEK
Just type this one in and watch the graphics action.
10 DIM A$(35)
20 GRAPHICS 1
25 TRAP 90
30 A$="THIS IS A GRAPHICS D E M O N S T R A T I O N . "
40 FOR I=1 TO 33:? #6;A$(I,I);
50 S=PEEK(53770)
60 S O U N D 0,S,10,14
70 FOR D E L A Y = 0 TO 100:NEXT DELAY
80 NEXT I
90 SOUND 0,0,0,0:END
Note: Make sure you insert two spaces between GRAPHICS and
DEMONSTRATION in line 30.
ESREVER
The title of this program is simply the word REVERSE printed in reverse.
To print words spelled backward, just type in this short program. After
you run it, a question mark will appear on your screen. Enter a word
or a short sentence and let your ATARI 65XE do all the work.
10 DIM A$(180)
20 PRINT "Enter a word or short sentence and press
Return."
30 INPUT A$
40 FOR X = L E N ( A $ ) TO 1 STEP -1
50 PRINT A$(X,X);
60 N E X T X
70 PRINT :PRINT :GOTO 20
88
Summary of Contents for 65XE
Page 1: ...ATARI 65XE PERSONAL COMPUTER OWNER S MANUAL TM...
Page 3: ...ATARI 65XE PERSONAL COMPUTER TM...
Page 6: ...Part 1 GettingStarted 1...
Page 9: ...4...
Page 23: ...18...
Page 25: ...20...
Page 32: ...Part 2 Programming withATARI BASIC 27...
Page 33: ...28...
Page 59: ...54...
Page 69: ...64...
Page 82: ...Part3 Appendices 77...
Page 83: ...78...
Page 97: ...92...
Page 105: ...100...
Page 125: ...120...
Page 126: ...121 Index...
Page 127: ...122...
Page 134: ...ATARI 1987 Atari Corp All Rights Reserved Printed in Taiwan C072018 001 REV B K l 2 1987...
Page 135: ......