another simple question

JimyHunt
03-26-2004, 10:31 AM
Hi guys

I have about 6 variables and i need to set them initially to 0

whats the shortest code to do this?

noi_max
03-26-2004, 10:36 AM
of what data type?

Most numeric data types start at zero already.

an5w3r
03-26-2004, 10:39 AM
declare them in the global section and they will be automaticly set to 0 or in the general section write Option Explicit and define your variable in a sub...

dim variable as integer
variable=0

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum