
-----------------------------------
colinrip666
Fri Jun 06, 2003 2:25 pm

put?
-----------------------------------
what does put mean??????  :oops:

-----------------------------------
Martin
Fri Jun 06, 2003 2:47 pm


-----------------------------------
Brand new to the programming scene, I take it :P

All that put does is 'puts' some text onto the screen.

Text can include variables, strings as well as numbers

put "HELLO" puts 'HELLO' on the screen
put 5 puts '5' on the screen

put 3 + 7 puts '10' on the screen (3 + 7 = 10)

-----------------------------------
Mephi
Fri Jun 06, 2003 6:38 pm


-----------------------------------
use quotes for exactly what you want on the screen, say u want 3 + 7 on the screen, then do 
put "3 + 7"
 but if u wanted to actually do 3+ 7 and output the answer dont use quotes, such as 
put 3 + 7
 which would output 10, and use commas to separate variables, like
put "Hi ", name, "!"

-----------------------------------
naoki
Fri Jun 06, 2003 8:00 pm


-----------------------------------
or put : file, name
as a way of storing information into a textfile

-----------------------------------
Andy
Fri Jun 06, 2003 9:20 pm


-----------------------------------
maybe you should read some of the tutorials??
