🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: free.it.visual-basic
Article #1351

Re: elementi di un array

#1351
From: Cerberus
Date: Tue, 06 Jul 2004 21:15
23 lines
1923 bytes
dovrebbe essere UBound, mentre LBound ti da il primo elemento.
ES. (visto che a parole non sono un professore.
dim Oggetto (5 to 7) as string
msgbox ubound(oggetto) 'dovrebbe dare 7
msgbox lbound(oggetto)'dovrebbe dare 5
quindi se tutto fila liscio per sapere quanti array hai dovresti fare:
msgbox ubound(oggetto)-lbound(oggetto)+1'poich� anche il 5 � comunque un
elemento dell'array.
spero di esserti stato d'aiuto.
ciao
cerberus

"El Gioppinho" <daropp@nonscrivereminchiatevirgilio.it> ha scritto nel
messaggio news:sXEFc.572901$rM4.23849761@news4.tin.it...
> Scusate la domanda banale, ma non ho il disco di msdn con visual basic e
> davvero non riesco a trovare un manuale decente in rete.
> Ma come si chiama la funzione che mi da il numero di elementi di un array
?
> Ovvero, ho l'array ma non so di quanti elementi � composto : esiste
> sicuramente una funzione che mi restituir� il numero, ma come si chiama ?
> Grazie a chi mi risponder� !
>
>
Technical Details
Message-ID: <oDEGc.38532$GQ3.1031490@twister2.libero.it>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news-out.tin.it!news-in.tin.it!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail
References: <sXEFc.572901$rM4.23849761@news4.tin.it>

Show Full Headers
Complete Article Headers
X-Google-Thread: f94ee,68c932e251bed8f0
X-Google-Attributes: gidf94ee,public
X-Google-Language: ITALIAN,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news-out.tin.it!news-in.tin.it!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail
From: "Cerberus" <cerberus1981@hotmail.com>
Newsgroups: free.it.visual-basic
References: <sXEFc.572901$rM4.23849761@news4.tin.it>
Subject: Re: elementi di un array
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Message-ID: <oDEGc.38532$GQ3.1031490@twister2.libero.it>
Date: Tue, 06 Jul 2004 21:15:00 GMT
NNTP-Posting-Host: 212.141.103.221
X-Complaints-To: abuse@inwind.it
X-Trace: twister2.libero.it 1089148500 212.141.103.221 (Tue, 06 Jul 2004 23:15:00 MET DST)
NNTP-Posting-Date: Tue, 06 Jul 2004 23:15:00 MET DST
Organization: [Infostrada]