%

aziz rasul

Active member
Local time
Today, 18:23
Joined
Jun 26, 2000
Messages
1,935
I have been looking at someones's code where he has

Dim intCount As Integer

but in the code uses

intCount% = ....

What's the significance of using '%' as the code works with or without the '%'.
 
you can define a variable as an integer in 2 ways:
Code:
dim var as integer
'or
dim var%

in this case, if intcount has already been defined by "Dim intcount as integer", then I suspect that % is not needed. BTW, $ signifies string, # signifies double, & signfies long, ! means single.

HTH,
Chris
 
Thanks for enlightening me Chris.
 

Users who are viewing this thread

Back
Top Bottom