11.07.2015 Views

Here - 1000 BiT

Here - 1000 BiT

Here - 1000 BiT

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

ANOTHER ERROR MESSAGERun10 INPUT N,A$Try these pairs of answers: 1. BB, 11. 1B, BAn error message ?REDO FROM START is put on the screen whenever the user answersa string for a number.(It is OK to answer a "number" for a string, because the computer says "OK, 1984 is astring!")A LIST SHORTCUTThere are 5 ways to use the LIST command:LIST lists whole programLIST 48 lists line 48LIST 50-75 lists all lines from 50 to 75LIST -27 lists all lines from beginning to 27,LIST 90- lists all lines from 90 to the endA THEN SHORTCUTInstead of 10 IF A=B THEN GOTO 33Use 10 IF A=B THEN 33A COLON SHORTCUTPut several statements on a line with a colon,":", between them. This saves space.Instead of10Q=17*320 R=Q+230 PRINT Ryou can write10 Q=17*3:R=Q+2:? RWhen you LIST the line, you see10Q=17*3:R=Q+2:PRINTR90

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

Saved successfully!

Ooh no, something went wrong!