initial value

Blitz3D Forums/Blitz3D Beginners Area/initial value

David(Posted 2004) [#1]
i have a dude

i make a variable and your value is cero, but... is always or is coincidence
the blitz initialize variables are cero?

if blitz initialize cero i can optimize my routines


Hansie(Posted 2004) [#2]
as far as I know everything is "0" ZERO/cero initially


soja(Posted 2004) [#3]
yes


David(Posted 2004) [#4]
ok and thanks

i always initialize arrays or other types :)

for n = 1 to 1000
hanfry[n] = 0
next

this no is necesary :)


EOF(Posted 2004) [#5]
No, you don't need to do that. Each array element will be zero by default.