| Welcome to WebmasterWorld Guest from 22.214.171.124 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
|Visual Basic quite basic question|
Donīt laugh, Iīm not a programmer!
In visual basic 6:
L = 1#
What is the # for?
Does it changes the variable type definition temporaly?
This is the line of code that puzzles me:
yStep = 1# / (m_cDib.Height / (m_scale * 2#))
Canīt figure out what is the # used for.
It's been a while, but I think it has something to do with forcing a variable to be a certain type. I'm thinking it's a long.
You might check over in the ASP / .Net forum.
Yes, thanks. It seems thatīs the use of the #.
The xStep variable is defined as DOUBLE. So I guess that using the # forces the number to be the same type as the variable.
Anyway, I deleted the # from the code and it still works.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved