|
-
Dec 29th, 1999, 06:08 AM
#1
Thread Starter
Member
ok now here is my problem
i have the program which works with numbers
and then i work with quite big numbers vb gives me:
run-time error '6':
overflow
what a hell is that?
is there any way to corect that?
how?(if there is)
why sky is blue?
-
Dec 29th, 1999, 06:33 AM
#2
_______
Try declaring your variables as long.
Dim intMyNumber as Long
the sky is blue because it reflects the ocean!
Wayne
-
Dec 29th, 1999, 06:42 AM
#3
Member
Change ur variable data type, so that it can hold bigger number.
Check out this early post.
http://www.vb-world.net/ubb/Forum1/HTML/012219.html
order of storage size :
Byte<Integer<Long<Single<Double
Why ocean is blue? 
Joon
-
Dec 29th, 1999, 06:56 AM
#4
Thread Starter
Member
-
Dec 30th, 1999, 02:40 AM
#5
New Member
Number size is limited to the data type you use, ine xample, integers max = 2032 or somewehre around that
The reason the sky is blue is due to the shemicla, soxygen carbod dioxide, nitrogen passing throught the sun....or at least thats what i think
-
Dec 30th, 1999, 02:50 AM
#6
Junior Member
The ocean is blue for the same reason that the sky is blue. The blue of the ocean is caused by scattering of sunlight by tiny particles suspended in the water. Blue light, being of short wave length, is scattered more effectively than light of longer wave lengths.
*copy and pasted from the web!
[This message has been edited by MR (edited 12-30-1999).]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|