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.

THE IF COMMAND TELLS LITTLE WHITE LIESThe IF command looks like this:10 IF (phrase A) THEN (command C)Try these in the edit mode:IF 0 THEN PRINT "TRUE"IF -1 THEN PRINT "TRUE"Now try this: IF 22 THEN PRINT "TRUE"RULE: In an IF, the computer looks at "phrase A."If it is zero, the computer says "phrase A is FALSE," and skips what is after THEN.If it is not zero, the computer says "phrase A is TRUE," and obeys the commandsafter THEN.The IF command tells little white lies. TRUE is supposed to be the number "-1", but theIF stretches the truth to say "TRUE is anything which is not FALSE," that is, anynumber which is not zero is TRUE.You tell aQhJF AND143

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

Saved successfully!

Ooh no, something went wrong!