Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CInt produces an overflow
Message
From
08/03/2001 01:06:47
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
CInt produces an overflow
Miscellaneous
Thread ID:
00483011
Message ID:
00483011
Views:
70
Hi, everybody.

I have a page with the following item form...

input type=text name=txtAposta maxlength=6 size=6 value=0

In another page, I have the following script:

liPontosAposta = CInt(Request("txtAposta"))

If a type 5000 in this textbox, everything works fine; but if I type 50000, it generates the following error:


Erro de tempo de execução do Microsoft VBScript error '800a0006'
Sobrecarga: 'CInt'
/quizmail/lanceaposta.asp, line 10

I think in English is:

Microsoft VScript's runtime error '800a0006'
Overflow: 'CInt'
/quizmail/lanceaposta.asp, line 10

the line 10 is
liPontosAposta = CInt(Request("txtAposta"))

Does anybody knows why this is happening?
Claudio Lassala
Next
Reply
Map
View

Click here to load this message in the networking platform