ZX Spectrum Manual
by Steven Vickers edited by Robin Bradbeer x Second Edition 1983 N @ 1982 by Sinclair Research BASIC programming Front cover illustration by John Harris of Young Artists Contents Contents CHAPTER 1 CHAPTER 10 Introduction Page 5 Mathematical functions Page 63 A guide ot the 2X Spectrum keyboard and a including simple trigonometry description of the display t, PI. EXP. LN. SIN. COS, TAN, ASN, ACS. ATN CHAPTER 2 , Basic programmiBg concepts Page I T Programs, line numbers, editing programs CHAPTER 11 Random numbers 71 using t. + and EDIT, RUN, LIST, GO TO, Page CONTINUE, INPUT, NEW, REM, PRINT, using RANDOMIZE and RND STOP in INPUT data, BREAK CHAPTER 12 CHAPTER 3 Arrays Page 77 Decisions Page 23 String and numeric arrays IF, STOP, DIM =.<.>,<=,>=,<> CHAPTER 4 CHAPTER 13 Looping Page 29 Conditions Page 83 FOR, NEXT, TO, STEP and logical expressions Introducing FOR-NEXT loops AND, OR, NOT CHAPTER 5 CHAPTER 14 Subroutines Page 35 The character set Page 89 GO SUB. RETURN A look at the 2X Spectrum character set including graphics and how to construct your own graphic characters CHAPTER 6 CODE, CHRS. POKE, PEEK. USR. BIN READ, DATA, RESTORE Page 39 CHAPTER 7 CHAPTER 15 Expressions Page 43 More about PRINT and INPUT Page 99 Mathematical expressions using Some more complicated uses of these +.-.*.I commands using separators : , ; ‘, TAB, AT. scientific notation and variable names LINE and CLS CHAPTER 8 Strings Page 49 CHAPTER 16 Colours Page 7 07 Handling strings and slicing INK, PAPER, FLASH, BRIGHT, INVERSE, OVER, BORDER CHAPTER 9 Functions Page55 User-definable functions and others readily CHAPTER 17 available on the ZX Spectrum using DEF.
[Show full text]