Stupid question on Strict.
BlitzMax Forums/BlitzMax Beginners Area/Stupid question on Strict.| 
 | ||
| When it states that all must be declared, what exactly does that mean? This is what I think it means. I think it means that all variables must be declared before use in a program. Correct or incorrect. Also, I dont understand any of this OOP stuff. I hope a tutorial on using OOP in games comes out coz I';m stumped right now. | 
| 
 | ||
| Yes, strict means that the variables must be declared before they are used. for OOP: http://java.sun.com/docs/books/tutorial/java/concepts/ (it's a start) | 
| 
 | ||
| Thax :) | 
| 
 | ||
|  I think it means that all variables must be declared before use in a program.  Correct. In BlitzMAX variable declaration is done using the Local or Global keywords. Fields  using the Field or Global keyword. | 
| 
 | ||
| I THINK the advantage is that when you mistype a variable name in your code by incident, it should occure an error, right? | 
| 
 | ||
| Yep. | 
| 
 | ||
| Yes, and it is a god send. | 
| 
 | ||
| Which makes me wonder, is it also possible to check for unused variables and objects? |