Posts: 442
Threads: 107
Joined: Feb 2005
i was screwing around, w/ fb and noticed that my program would work even though i didnt dim my var's!!! wtf is going on? it was a stupid program
for i = 1 to 1000
print "hello world"
print i
next
but that was it.....???
url=http://www.random-seed.net]
[/url]
Posts: 3,522
Threads: 189
Joined: Dec 2003
And the problem is?
BASIC doesent require var initialization.
You can add OPTION EXPLICIT to the top of your code to force variables to always need initialization.
wtf, omg, lol, roflmao!!!1111 :roll:
Posts: 442
Threads: 107
Joined: Feb 2005
i was using a basic program that required initialization of variables before usage...so i'm used to it....+ not new @ programming, just new @ basic
url=http://www.random-seed.net]
[/url]