Long (long integer) variables are stored as signed 32-bit (4-byte) numbers ranging in value from -2,147,483,648 to 2,147,483,647. The type-declaration character for Long is the ampersand (&).
"All I ask is the chance to prove that money can't make me happy." - Spike Milligan
Anyways, the CInt will not convert to a Long integer, but to a "Short" Integer.
There is a difference in the maximum possible number that can be converted (about 32,000).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.