🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Copiare matrici

#3120
From: luckydor
Date: Tue, 15 Oct 2002 18:44
35 lines
1503 bytes
� possibile copiare una matrice singola;
da una a pi� dimensioni.

Mi spiego meglio:

Sia una matrice

Dim a(2)
  a(0) = "zero"
  a(1) = "uno"
  a(2) = "due"

x copiarla;

  b = a

  b0 = b(0)
  b1 = b(1)
  b2 = b(2)

ma se ho:

Dim a(2, 2)
  a(0, 0) = "zero"
  a(1, 0) = "uno"
  a(2, 0) = "due"

'Voglio copiare solo la prima dimensioni;

  b = a(1)

Mi sembra strano che non vi sia un
modo x farlo.

Qualsiasi consiglio � bene accetto anche API.
Technical Details
Message-ID: <ZlZq9.7885$o7.319381@news2.tin.it>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-01!sn-xit-04!supernews.com!easynet-quince!easynet.net!colt.net!news-x2.support.nl!news2.euro.net!news.mailgate.org!nntp.infostrada.it!news-out.tin.it!news-in.tin.it!news2.tin.it.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII
X-Google-Thread: f94ee,5ee8bf0b88b52462,start
X-Google-Attributes: gidf94ee,public
X-Google-ArrivalTime: 2002-10-15 11:45:43 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-01!sn-xit-04!supernews.com!easynet-quince!easynet.net!colt.net!news-x2.support.nl!news2.euro.net!news.mailgate.org!nntp.infostrada.it!news-out.tin.it!news-in.tin.it!news2.tin.it.POSTED!not-for-mail
From: "luckydor" <orfwim@tin.it>
Newsgroups: free.it.visual-basic
Subject: Copiare matrici
Lines: 45
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Message-ID: <ZlZq9.7885$o7.319381@news2.tin.it>
Date: Tue, 15 Oct 2002 18:44:09 GMT
NNTP-Posting-Host: 213.45.100.114
X-Complaints-To: newsmaster@tin.it
X-Trace: news2.tin.it 1034707449 213.45.100.114 (Tue, 15 Oct 2002 20:44:09 MET DST)
NNTP-Posting-Date: Tue, 15 Oct 2002 20:44:09 MET DST
Organization: TIN