Jump to content




Understanding Varibles


  • You cannot reply to this topic
3 replies to this topic

#1 Custom Boot Maker

  • Members
  • 22 posts

Posted 10 June 2012 - 11:01 AM

Say if we made a password it will be this

Password = PasswordHere -We named this Varible the password
Print("TypeWhatUGonnaSay") -Print Means Write on screen (not real print)
input = read() -This Mean It allows the Player to type what the password is then it reads wat you said
if input == password then -This means if password is correct then
Print("TextHere")
else
os.shutdown() -means shutdown the computer (NotRealPCgamePc)



This is the ver Basics is u found helpfull Put A: :)/> if not: :(/>

#2 D3matt

  • Members
  • 830 posts

Posted 10 June 2012 - 05:24 PM

The first brick on the path to understanding is proper spelling.

#3 Custom Boot Maker

  • Members
  • 22 posts

Posted 11 June 2012 - 08:53 PM

View PostD3matt, on 10 June 2012 - 05:24 PM, said:

The first brick on the path to understanding is proper spelling.
At Least IM Saying It

#4 Noodle

  • Members
  • 989 posts
  • LocationSometime.

Posted 20 June 2012 - 09:14 AM

You should add that you need to re-define the variables when you or the program changes them.
Actually a lot could be added.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users