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" IN ENGLISH AND IN BASICIn English:IF your home work is done, THEN you may have some cake.In BASIC:40 IF A$="DONE" THEN PRINT "EAT SOME CAKE"A FORK IN THE ROADWhen it sees "IF", the computer must choose which road to take.If "phrase A" is true, it must go past the "THEN" and obey the command it finds there.Then it goes down to the next line.If "phrase A" is false, it goes down to the next line right away.<strong>Here</strong> is the road map with the fork in the road marked:30 V(command).* fork in the road40 C A$="HUNGRY" THEN PRINT "EAT"50 C(command)56

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

Saved successfully!

Ooh no, something went wrong!