Article View: free.it.visual-basic
Article #263Re: Ciclo 'For each file in.....'
From: Rafunk
Date: Sat, 18 Nov 2006 09:26
Date: Sat, 18 Nov 2006 09:26
52 lines
3256 bytes
3256 bytes
AntFast wrote: > Ciao Raf > Ottima la soluzione di mandare il controllo al next. > Ora che lo, mi sento ridicolo ad averti fatto queste > domande. Grazie davvero. Non devi sentirti ridicolo, nessuno nasce imparato... ;-) > Sono condizionato molto dalla conoscenza di Clipper > che ho usato per molto tempo.... > In esso era: > for ...... > ...codice > if condizione (senza il then) > loop > endif (unito) > ...codice > next > (Per uscire anticipatamente dalle procedure, dalle > sottoprocedure e dalle funzioni si usava "return") > Purtroppo, con i miei 56 anni, mi accorgo che non > sono piu' tanto elastico mentalmente.... :-( > Ti ringrazio ancora di cuore. > Due cose mi sembrano mancare, almeno per me che > comunque sono uno "smanettone" e cioe': > 1) In Clipper si potevano disabilitare tante righe di codice > mettendo all'inizio del blocco di righe "/* "ed alla fine "*/" > In Vbscript occore mettere " ' " all'inizio di ogni riga..... > Non c'e' un'equivalente di Clipper ? (/* e */) Purtroppo no, per� se usi un editor un po' evoluto (quindi non Notepad), puoi sempre crearti una macro che antepone il carattere ' ad un gruppo di linee selezionate, in modo da commentarle in blocco. > 2) In Clipper c'era un programma Indent.exe che > "indentata" tutto il codice, bastava scrivere "indent 5" > e tutto il codice veniva "indentato" con 5 spazi > In Vbscript fa fatto a mano ? S�, oppure come gi� detto devi usare un editor evoluto. Ad esempio io uso TextPad (http://www.textpad.com/): in questo editor se selezioni una o pi� linee e previ TAB, esse vengono indentate. > Ciao Raf > AntFast Ciao Raf ----------------------------------------------------- Funk: cooler than the other side of the pillow.
Technical Details
Message-ID:
<455ed1c5$0$7643$4fafbaef@reader1.news.tin.it>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed.x-privat.org!feeder.news.tin.it!spool.news.tin.it!not-for-mailReferences:
<VqP6h.9067$mZ5.239@tornado.fastwebnet.it> <455c525a$0$7637$4fafbaef@reader1.news.tin.it> <ew17h.10071$mZ5.8834@tornado.fastwebnet.it> <455d7d69$0$3205$4fafbaef@reader2.news.tin.it> <Xlk7h.12369$mZ5.8352@tornado.fastwebnet.it> <455dd521$0$3208$4fafbaef@reader2.news.tin.it> <2Km7h.13637$mZ5.3908@tornado.fastwebnet.it>Show Full Headers
Complete Article Headers
X-Google-Thread: f94ee,1434dad1ca015974 X-Google-Attributes: gidf94ee,public X-Google-Language: ITALIAN,CP1252 From: "Rafunk" <zero@none0.it> Newsgroups: free.it.visual-basic References: <VqP6h.9067$mZ5.239@tornado.fastwebnet.it> <455c525a$0$7637$4fafbaef@reader1.news.tin.it> <ew17h.10071$mZ5.8834@tornado.fastwebnet.it> <455d7d69$0$3205$4fafbaef@reader2.news.tin.it> <Xlk7h.12369$mZ5.8352@tornado.fastwebnet.it> <455dd521$0$3208$4fafbaef@reader2.news.tin.it> <2Km7h.13637$mZ5.3908@tornado.fastwebnet.it> Subject: Re: Ciclo 'For each file in.....' Date: Sat, 18 Nov 2006 10:26:06 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Lines: 53 Message-ID: <455ed1c5$0$7643$4fafbaef@reader1.news.tin.it> Organization: TIN.IT (http://www.tin.it) X-Comments: Please send technical notifications to newsmaster@tin.it NNTP-Posting-Host: 82.50.196.150 X-Trace: 1163841989 reader1.news.tin.it 7643 82.50.196.150:1485 X-Complaints-To: Please send abuse reports to abuse@tin.it Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed.x-privat.org!feeder.news.tin.it!spool.news.tin.it!not-for-mail