11.07.2015 Views

Here - 1000 BiT

Here - 1000 BiT

Here - 1000 BiT

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PROGRAM OUTLINE1 GOTO<strong>1000</strong>:REM*** program name ***100 REM MAIN LOOPcalls subroutines199 END<strong>1000</strong> REM1001 REM1002 REM*** program name ***REM's that give a description of theprogram, variable names, etc.1999 REM2000 REM STARTING STUFFask for starting informationset variable valuesgive instructions2999 GOTO 100Save the outline and use it to start each new program that you write.PUT THE MAIN LOOP AT THE BEGINNING OF THE PROGRAMPut the MAIN LOOP near the front because it will run faster there.PUT STARTING STUFF AT THE END OF THE PROGRAMPut the STARTING STUFF near the back because it may be the biggest partof the program, and you may keep adding to it as you write, to make theprogram more user friendly. It does not need to run fast.PUT SUBROUTINES IN THREE PLACESbetween line 2 and line 99 for subroutines which must run fast after line 2999for starting stuff subroutines between line 200 and 999 for the rest of thesubroutinesINFORMATION PLEASE380 PRINT "DO YOU WANT INSTRUCTIONS? "This lets a beginner see instructions, and lets others say NO.186

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

Saved successfully!

Ooh no, something went wrong!