Mattel Aquarius — Mattel Aquarius Home Computer User Manual (NTSC) — Setup & BASIC Guide PDF

~Type RUN and press L.B.Di.J . You should see this: type RUN to execute those statements (or LIST or NEW). you are in 1mmed1ate Mode. If you try to enter a line number thai IS too large. Aquarius will chop off digits. working from right to left. until it cuts your line number down to a size 11 can handle. This process is called TRUNCATING. Example: 66.000 would become 6600. And you would still get t he error message. What's more. 11 you already had a line 6600 in your program. the new line 6600 would RE PlACE the old line 6600. And th at could mean big tr ouble. gj MORE ABOUT LINE NUMBERS Just a f ew Simple rules ... 1. Whole numbers (integers) only. Not 10.5 or 10 1 /. .

~pe LIST and press LBJ]ij . Aquanus will print your statements 10 and 20, just as you originally typed them. 2. Pos1tive numbers only. Not - 10. GOOD HABITS As a general rule. leave gaps of at least 10 between line number s. Our little program is good prac· lice. but not really worth javing .l So type NEW and press RTN . This erases the program from the comput er's memory. It does NOT erase the screen. 3. Numerals only. Not 1 OA. 4. Largest possible line number - 65529. 66000 is too large. Exampl e: 10 PRINT " HE LLO 20 PR I NT " MY NAME If you t ry to enter a statement with an invalid line number.

you will get a SYNTAX ERROR (S N IS Notice how you are switching back and forth between lm· mediate a nd Programmed Modes. When you type state· ments with line numbers. you are 1n Programmed Mode. When you ERROR) messa ge . This means. "you goofed- try aga1n ." (There is a complete list of al l er· ror messages. starling on page 1 of the AppendiX.) Then if you need to add state· ments 1n later. you can do so wit11out renumbenng. r