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.

RULE: A string variable name ends in a dollar sign, "$". You can use any letter you likefor the name and then put a dollar sign after it.A$ is called a variable because you can put different strings into the box at differenttimes in the program. The box can hold only one string at a time. Putting a new stringinto a box erases the old string which was in the box.ERROR MESSAGES FROM INPUTRun this three times:10 INPUT A$20 PRINT" ";A$Try these answers:HIHI, THEREHI: 1 2 3RULE: Do not put any commas or colons into the string you type in answer to thecomputer.If you accidentally do put one in, the computer may answer:9EXTRA IGNOREDand continue This means that the computer chopped off everything after the comma orcolon and then continued running the program.42

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

Saved successfully!

Ooh no, something went wrong!