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.

LESSON 23SECRET WRITING AND THE GET COMMANDTHE INPUT COMMANDThere are two ways to use INPUT.Without a message:With a message:10 INPUT A$10 INPUT N10 INPUT NAME$,AGEIDAY,MONTH$,YEAR10 INPUT "NAME>AGE";NAME$>AGE10 INPUT "HOW ARE YOU";FEEL$Either way, the computer waits for you to type in a word, sentence or number, and foryou to press the RETURN key.THE GET COMMAND AND SECRET WRITINGThe GET command is different from INPUT. It gets a single character from the keyboard.Example:10GETASWhen the program reaches GET in line 10, the computer looks to see if any key has beenpressed. If so, it reads the key and puts the character into memory box A$.Nothing shows on the screen:no message will show on the screenno question mark will showno cursor will showwhat you type will not show.132

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

Saved successfully!

Ooh no, something went wrong!