Article View: free.it.visual-basic
Article #3118Re: Cicli con operatori
From: albertino80
Date: Mon, 14 Oct 2002 22:27
Date: Mon, 14 Oct 2002 22:27
25 lines
1813 bytes
1813 bytes
Webby wrote: > Ciao a tutti, > � una domanda riguardante l'uso degli operatori And,Or,Not con i cicli. > il codice: > Do > Loop While number <= 0 And text1.text="" dovrebbe dare lo stesso risultato > di: > Do > Loop Until number > 0 And text1.text < > "" > > Allora come mai il primo non funziona mentre il secondo si? > > Confido nel vostro aiuto Il primo esce: se number>0 o se text <> "" Il secondo esce: se number>0 e se text <> "" Ti posso garantire che visual basic � abbastanza testato, e non presenta bachi cos� gravi. Tutti e due i cicli funzionano perfettamente, il problema � logico. Prima di scrivere pensa a cosa ti serve. Ciao.
Technical Details
Message-ID:
<aofgb8$qe$3@lacerta.tiscalinet.it>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!skynet.be!skynet.be!news.mailgate.org!draco.tiscalinet.it!not-for-mailReferences:
<amhi6s$rct$2@lacerta.tiscalinet.it>Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII X-Google-Thread: f94ee,9247d80fc25d211f X-Google-Attributes: gidf94ee,public X-Google-ArrivalTime: 2002-10-14 15:32:05 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!skynet.be!skynet.be!news.mailgate.org!draco.tiscalinet.it!not-for-mail From: albertino80@tiscalinet.it Newsgroups: free.it.visual-basic Subject: Re: Cicli con operatori Date: Tue, 15 Oct 2002 00:27:08 +0200 Organization: Tiscali Spa Lines: 25 Message-ID: <aofgb8$qe$3@lacerta.tiscalinet.it> References: <amhi6s$rct$2@lacerta.tiscalinet.it> Reply-To: albertino80@tiscalinet.it NNTP-Posting-Host: ppp-62-10-42-147.dialup.tiscali.it Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8Bit X-Trace: lacerta.tiscalinet.it 1034634408 846 62.10.42.147 (14 Oct 2002 22:26:48 GMT) X-Complaints-To: newsadmin@it.tiscali.com NNTP-Posting-Date: 14 Oct 2002 22:26:48 GMT Mail-Copies-To: albertino80@tiscalinet.it User-Agent: KNode/0.7.1