12.07.2015 Views

page-1983-101-timex-sinclair-programming-tricks

page-1983-101-timex-sinclair-programming-tricks

page-1983-101-timex-sinclair-programming-tricks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

StatementsCLEARCLSCONTCOPYDIMDIM $FASTFORGOSUBGOTOIFINPUTLETLISTLUSTLOADLPRINTNEWNEXTPAUSEPLOTPOKEPRINTRANDREMRETURNRUNSAVESCROLLSLOWSTEPSTOPTABTHENTOUN PLOTclears variablesclears screencontinue after STOPcopy TV screen on printerdimensions numerical arraydimensions string arraystarts fast mode of TV displayfirst part of FOR/NEXT loopjump to subroutinejump to a linefirst part of IF/THEN decision makerstops so data can be enteredassigns a value to a variabledisplays program list on TV screendisplays program list on printertransfers program from tape into computerPRINT on printererases all of program memory and variableslast part of FOR/NEXT loopholds TV display on for brief delayblacks in a graphics-screen dotwrites in one memory-address locationdisplays on TV screenreseeds random-number generatorstatement ignored during runend of GOSUB, jump back to main routineclears variables and starts program actionrecords program from computer onto taperolls TV display up a lineswitches to slower display modeoptional part of FOR/NEXT looptemporary halt in a runPRINT at a certain place on TV displaylast part of IF/TH EN decision makerfollows FOR in FOR/NEXT loopblanks out a graphics-screen dot123

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

Saved successfully!

Ooh no, something went wrong!