quote:
Originally posted by lightspeed
what do yoy mean syntax (what is that ) and how do i know ifs its correct or not ??
If I understand your question...
Correct syntax is the correct words in the correct order and for any language, you have to
learn the syntax to know if it's correct. If you want to communicate with your computer, you have to communicate in a language it understands, and use the language with some degree of accuracy.
All language is a code. Even English. Like any code, if you mix up the sequence, leave out parts or insert parts at will - you no longer have code, you have random sounds. With computer langauages they don't try to understand or guess the meaning, they simply stop working. I guess that's why people take the time to edit their code until it is correct. Computers seem to respect you more if you make the effort to speak their language accurately.
It's a good habit.