Article View: comp.lang.basic.visual
Article #266Re: "List" property category
From: Jan R�hmer Christensen
Date: Tue, 09 Oct 2001 21:03
Date: Tue, 09 Oct 2001 21:03
25 lines
1811 bytes
1811 bytes
> I've tried to make a property by this: > > --- START --- > Private mList(10) As String > > Public Property Get List(Index As Integer) As String > List = mList(Index) > End Property I would have written it like thise Public sub GetList(index as integer) as string GetList=mList(index) End Sub > > Public Property Let List(Index As Integer, Value As String) > mList(Index) = Value > End Property > --- END --- and thise like Public Sub LetList(index as integer, Value as string) mlist(index) = Value end sub But i dont know.. havent testet it.. was just quick to reply!
Technical Details
Message-ID:
<3bc36507$0$11598$ba624c82@nntp01.dk.telia.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!212.54.64.131!news100.image.dk!newsfeed101.telia.com!nf01.dk.telia.net!news104.dk.telia.net!not-for-mailReferences:
<h4Hw7.18547$lk7.298502@news.get2net.dk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f51ba,2a4d08c125602828 X-Google-Attributes: gidf51ba,public X-Google-Thread: fb992,2a4d08c125602828 X-Google-Attributes: gidfb992,public X-Google-Thread: f645d,2a4d08c125602828 X-Google-Attributes: gidf645d,public X-Google-ArrivalTime: 2001-10-09 13:59:18 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!212.54.64.131!news100.image.dk!newsfeed101.telia.com!nf01.dk.telia.net!news104.dk.telia.net!not-for-mail From: "Jan R�hmer Christensen" <janogkarina@mail1.stofanet.dk> Newsgroups: comp.lang.basic.visual,comp.lang.visual.basic,dk.edb.programmering.basic.visual-basic References: <h4Hw7.18547$lk7.298502@news.get2net.dk> Subject: Re: "List" property category Date: Tue, 9 Oct 2001 23:03:41 +0200 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Lines: 28 Message-ID: <3bc36507$0$11598$ba624c82@nntp01.dk.telia.net> NNTP-Posting-Host: 212.10.122.57 X-Trace: 1002661127 news.stofanet.dk 11598 212.10.122.57 X-Complaints-To: Telia Stofa Abuse <abuse@stofa.dk>