After dinner, C. asked if we can continue to learn about computer programming. I told her I would love nothing more.
So we reviewed the few simple reserved words like
To declare a variavble
A loop that stops when an expression is false. 0, false or null is false, anything else is true.
for(initiator, conditional; increment)
A loop with an initiator, conditional and increment
To create a new object. An object has state and methods or actions.
To display a message to the programmer or user
We added tonight
To declare an integer which is a non-decimal. So 2, 8, 66 are integers while 9.6 is not.
if ... then...
Conditionals that will only do something if an expression is true
We then talked about ++ and += and went throaugh examples like
I found a small tutorial on the window object.
we looked at and played with an example
Used to display a simple message
Used to ask for input from the user
Used to ask for a yes or no type of answer.