Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CInt produces an overflow
Message
De
08/03/2001 01:06:47
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
CInt produces an overflow
Divers
Thread ID:
00483011
Message ID:
00483011
Vues:
64
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform