|
-
Nov 21st, 1999, 11:15 AM
#1
Thread Starter
Junior Member
When I run this code the numbers blur. I can't figure out why. Is it because it's infinite? Here it is:
Dim curSales as Currency
curSales = Val(Inputbox("Enter a sales amount")
Do While curSales > 0
Print curSales * .1
Loop
-
Nov 21st, 1999, 12:34 PM
#2
Lively Member
it's causing an infinite loop.
for instance, when the value is 10,
that's always greater than 0, so
the "Do" loop causes an infinite loop...
-
Nov 22nd, 1999, 05:23 AM
#3
Thread Starter
Junior Member
What should I do then?
------------------
kazooie21
-
Nov 22nd, 1999, 07:01 PM
#4
What exactly are you trying to do?
------------------
Serge
Software Developer
[email protected]
[email protected]
ICQ#: 51055819
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
|