background image

Summary of Contents for color computer 8 basic

Page 1: ...Printed m Korea 811019430A...

Page 2: ...Tandy Color Computer 3 BASIC Quick Reference Guide...

Page 3: ...permission from Tandy Corporation and or its licensor of any portion of this manual is prohibited While reasonable efforts have been taken in the preparation of this manual to assure its accuracy Tand...

Page 4: ...ore tur Tig on re co Du 4 Turn on any accessor equipment Dnnter Multi Pak interface etc 5 Turn on the computer 6 l f you are not using a Program Pak the BASIC start up message apoears on the display...

Page 5: ...PPIES CLOADM filename o Loads macnine language program filename from cassette f filename is not specified BASIC loads tne first macmne ianguage program found filename Name of desired macnine language...

Page 6: ...SR0 28032 DEL 11 12 Deletes program lines Lowest line number to delete 12 Highest line number to delete 11 Deletes 1 line 12 Deletes from beginning of program up to and including 12 11 Deletes from an...

Page 7: ...line number Jumps to the specified line number GOTO 125 HBUFF buffer size Reserves an area in memory for high resolution graphics buffer Number of buffer selected size Defines buffer size BASIC allow...

Page 8: ...character position message String to print HPRINT 20 12 HELLO HPUT sx sy ex ey b a Copies graphics from a buffer to a rectangle on the high resolution graphics screen sx sy First corner of rectangle...

Page 9: ...ters LINEINPUT A LIST 11 12 Lists specified program hne s or the entire program on the screen 11 Lowest line number to list 12 Highest line number to list 11 Lists 1 line 12 Lists from beginning of pr...

Page 10: ...ter 1 Cassette 0 Keyboard or screen f Filename OPEN 0 1 DATA PAINT x y c1 c2 Paints an area on the current low resolution graphics screen x y Starting point d Paint color c2 Border color PAINT 44 55 2...

Page 11: ...ormar ctefa Prints numbers in the specified format on the text screen The format commands are Formats numbers Decimal point Prints comma to the left of every third character Fills leading spaces with...

Page 12: ...ype colors Selects low resolution screen modes and color sets type Text 1 Graphics colors Color set 1 Color set 1 SCREEN 0 1 SET x y c Sets point x y on the low resolution text screen to Color c If yo...

Page 13: ...t has occurred IF ERNO 20 THEN CLOSE Functions EXP n Returns a natural exponential number e A 7 A EXP B 1 15 FIX n Returns the truncated integer of n Unlike INT FIX does not return the next lower numb...

Page 14: ...t is part of an alphanumeric character Point is reset Code Point is set A P0INT 22 f 33 POS dev Returns the current print position dev Print device number Screen 2 Printer a pos 0 PPOINT x y Returns i...

Page 15: ...ue from the subroutine to the BASIC program A USR0 B VAL string Converts a string to a number A VAL 1 23 VARPTR variable Returns a pointer to where a variable is located in memory A VARPTR 8 Operators...

Page 16: ...es a running BASIC program to pause Press the space bar to continue shift i All caps upper lowercase keyboard switch CED Hold down during power up to select alternate color set H 0 Special Characters...

Page 17: ...t 0 10 Division by Zero FC 4 Illegal Function Call FD 17 Bad File Data FM 21 Bad File Mode HP 39 Hires Print Error HR 38 Hires Graphics Error ID 11 Illegal Direct Statement IE 23 Input Past End of Fil...

Reviews: