Article View: free.it.visual-basic
Article #174Re: inspiegabile(?) overflow Long se >32768
From: IvanDaBologna
Date: Thu, 05 Jun 2008 05:50
Date: Thu, 05 Jun 2008 05:50
16 lines
1782 bytes
1782 bytes
[..] >>> basterebbe scrivere mylong=1000&*33 ;il & forza a tipo long il numero >>> che lo preced [..] > eddai l'ho fatto per fare un esempio evidente in una riga,nel codice il > problema avveniva moltiplicando due variabili > > buon 1� Maggio appunto per questo motivo era meglio che tu indicassi la reale situazione. Una variabile (di calcolo) correttamente dimensionata a tipo long avrebbe comunque risolto il problema alla fonte. Anche in termine di prestazioni la definizione del tipo incrementa l'efficienza del calcolo. IvanDaBologna
Technical Details
Message-ID:
<48477eb7$0$35957$4fafbaef@reader2.news.tin.it>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!transit4.hitnews.eu!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.news.tin.it!spool.news.tin.it!not-for-mailReferences:
<481475fc$0$18146$4fafbaef@reader3.news.tin.it> <481479cf$0$18156$4fafbaef@reader3.news.tin.it> <fv43ki$l3r$1@aioe.org> <481960d3$0$40221$4fafbaef@reader5.news.tin.it>Show Full Headers
Complete Article Headers
X-Google-Thread: f94ee,ebcc3c90df8911f6 X-Google-Attributes: gidf94ee,domainid0,public,usenet X-Google-Language: ITALIAN,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!transit4.hitnews.eu!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.news.tin.it!spool.news.tin.it!not-for-mail From: "IvanDaBologna" <ivan.casa@tin.it> Newsgroups: free.it.visual-basic References: <481475fc$0$18146$4fafbaef@reader3.news.tin.it> <481479cf$0$18156$4fafbaef@reader3.news.tin.it> <fv43ki$l3r$1@aioe.org> <481960d3$0$40221$4fafbaef@reader5.news.tin.it> Subject: Re: inspiegabile(?) overflow Long se >32768 Date: Thu, 5 Jun 2008 07:50:49 +0200 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 X-RFC2646: Format=Flowed; Response Lines: 18 Message-ID: <48477eb7$0$35957$4fafbaef@reader2.news.tin.it> Organization: TIN.IT (http://www.tin.it) X-Comments: Please send technical notifications to newsmaster@tin.it NNTP-Posting-Host: 87.6.48.211 X-Trace: 1212645047 reader2.news.tin.it 35957 87.6.48.211:13813 X-Complaints-To: Please send abuse reports to abuse@retail.telecomitalia.it