Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » what does this declaration in VB mean?
Closed Thread
Old 12-23-2004, 12:08 PM   #1 (permalink)
 
Master Techie

Join Date: Mar 2004

Posts: 2,069

rookie1010

Default what does this declaration in VB mean?

Hi
What does tis declaration in VB mean?

Dim k%, iNumNames%, j%, m%, 1%
rookie1010 is offline  
Old 12-26-2004, 02:50 PM   #2 (permalink)
 
Monster Techie

Join Date: Jul 2003

Posts: 1,179

Emily is on a distinguished road

Send a message via AIM to Emily
Default

It declares k, iNumNames, j, m, and 1 as integers. (The % attached to any variable declaration is a shortcut for "as Integer").
__________________
<a href=\"http://www.upstark.com\">www.upstark.com</a>
Emily is offline  
Old 12-26-2004, 05:00 PM   #3 (permalink)
 
Master Techie

Join Date: Mar 2004

Posts: 2,069

rookie1010

Default

ah so % means as integer!!
thanks emily.

am taking a holiday break, will tackle VB in the new year. hopefully i will not forget all that i have learned, not that i have learnt much
rookie1010 is offline  
Old 12-26-2004, 05:24 PM   #4 (permalink)
 
Monster Techie

Join Date: Jul 2003

Posts: 1,179

Emily is on a distinguished road

Send a message via AIM to Emily
Default

No problem.
__________________
<a href=\"http://www.upstark.com\">www.upstark.com</a>
Emily is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On