13.07.2015 Views

Turbo Basic

Turbo Basic

Turbo Basic

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

$COM metastatement; 119$DYNAMIC metastatement, 76,120and DIM, 185-186$EVENT metastatement, 121and ON PLAY,277$IF{ELSE{ENDIF metastatements, 122$INCLUDE metastatement, 123-124and Main file option, 45$INLINE metastatement, 125and SUB/END SUB, 353in assembly language, 397-401$p $g prompt (DOS), 437$SEGMENT metastatement, 124$SOUND metastatement, 126and ON PLAY, 277$STATIC metastatement, 76,128in recursion, 95A,A option, 406ABS function, 130Active window, 18Advanced BASIC, 1, 6. See alsoInterpretive BASICAn command, 190Angle measurementATN function, 132-133COS function, 167SIN function, 341TAN function, 359Arctangent, 132-133Arithmetic operators, 78Array parameter passing, 398-399Arrays, 72and DIM, 185-186and LOCAL, 253bounds testing, 74-75declaring parameters of, 354dynamic allocation of, 75-76elements of, 72-74multidimensional, 74passing to procedures, 87static, 76storage requirements, 75string, 74subscripts of, 72-73Array subscripts 185,288ASC function, 131ASCII character codes, 131, 148, 427-428Assembly languageand CALL, 138--139and CALL ABSOLUTE, 140-141and CALL INTERUPT, 142and MEMSET, 260and VARPTR, 368ATN function, 132:-133AUTOEXEC.BAT file, 13, 437-438Auto save edit option, 24, 49, 54BBackup source files option, 54BASIChistory of, 5-9BASICA, 1. See also Interpretive BASICBEEP statement, 134BIN$ function, 135Binary conversion, 135BINARY file mode, 2, 107-108and GET$, 216and INPUT$, 232Binary files, 107-108BIOS function calls, 393, 396BIOS interrupts, 396BLOAD statement, 136and BSAVE, 137and DEF SEG, 182in assembly language, 394Boolean expressions, 221-224Boolean operations, 79-81Bounds option, 50and DIM, 185in array testing, 75, 186BSAVE statement, 137and BLOAD, 136and DEF SEG, 182-183CCALL ABSOLUTE statement, 140-141and DEF SEG, 182in assembly language, 394CALL INTERRUPT, 142in assembly language, 395CALL statement, 2, 138--139. See alsoSUB statementin assembly language, 393, 397CDBL function, 143CEIL function, 144Chain file setting, 48Chaining functions/procedures, 441CHAIN statement, 145-146and COMMON, 165Change dir option, 46Character set, 62, 64CHDIR statement, 147458<strong>Turbo</strong> <strong>Basic</strong> Owner's Handbook

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!