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

Example 1: 5 * 6 + 4 I 2 be combined with the I CTL I ke y Aquarius first mu t 1plles 5 * 6. then divides 4 by 2. It then ad ds the results of these operations (30 + 2) for a f1nal result of 32. NOTES ABOU T NUMBERS . When you use numbers tn BASIC. they cannot contatn commas or spec1a1 characters. to instantly " write" a keyword or do an editing function. Pretty handy, huh? These keys are all marked on the keyboard overlay. like the dollar s1gn Th1s IS a different result than if Aquanus ll ad multiplied 5 * 6. then added 4 and d1vided that result by 2. for a lrnal answer of :b 1.250 75 NO There is a list of CTL shortcuts f or the keywords a nd editing functions you lea rn in each chapter.

These lists are at the end of each chapter. 1250.75 YES 17 . Example 2: 5 * (6 + 4) I 25 CONTROL- THE SHORTCUT KEY When a key is to be used with the I CTL I key, the combination is written as CTL·(key). FOR EX· AMP LE, CTL·C " MANUALLY" Aquarius first adds 6 + 4 (becau se this operation is in parentheses). Then it multiplies HALTS A PROGRAM THAT IS RUNNING. (T his key is marked STOP on the overlay .) the result (10) by 5 and div1des that result (50) by 25. T he final answer is 2. The key marked CTL 1s called the CONTROL key. When used wi th another key. 11 allows us to take short cu ts in wn!l~g ma .l y keywords. To use the CT L key.

always HOLD IT DOWN wh1le press1ng the other key - the same way you use the SHIFT key to type upper case characters. RUN and LIST are examples of keywords tha t can be "wr itten" us1ng the I CTL I key w1th another key Almost every key on the keyboard can Th e order in whict1 Aquarius does arithmetic opera ti ons is called O PE RATOR PRECEDENCE For more 1nfor· mat1on on operator precedence. see page 11 1n the Appendix, There are other kinds of expres· sions. too, called RELATIONAL and LOGICAL expressions. These are discussed rn a later chapter ...