🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #570

VB.NET objecten byref of byval

#570
From: Pugi!
Date: Fri, 04 Aug 2006 09:33
10 lines
1658 bytes
Ik volg cursus VB.NET, ADO.NET en XML.NET.
Ik heb in het begin van de cursus gelezen dat objecten altijd als
referentie worden doorgegeven en nooit als waarde in de parameterlijst
van een functie of sub. In de cursus wordt in de parameterlijst voor
een object altijd ByVal gezet.
Visual Basic (Visual Studio 2002) maakt hier echter geen probleem van,
er volgt geen foutmelding wanneer je ByVal gebruikt ipv ByRef.
Is dit slechte coding of ben ik een muggezifter.

Pugi!
Technical Details
Message-ID: <1154683984.455911.124990@s13g2000cwa.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!s13g2000cwa.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: fcea4,9bdaabc5358e8062,start
X-Google-Thread: 107324,9bdaabc5358e8062,start
X-Google-Attributes: gidfcea4,gid107324,public
X-Google-Language: DUTCH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!s13g2000cwa.googlegroups.com!not-for-mail
From: "Pugi!" <puginews@gmail.com>
Newsgroups: be.comp.programming,nl.comp.programmeren
Subject: VB.NET objecten byref of byval
Date: 4 Aug 2006 02:33:04 -0700
Organization: http://groups.google.com
Lines: 11
Message-ID: <1154683984.455911.124990@s13g2000cwa.googlegroups.com>
NNTP-Posting-Host: 81.246.30.163
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1154683990 515 127.0.0.1 (4 Aug 2006 09:33:10 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 4 Aug 2006 09:33:10 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6,gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.0 SERVER2
Complaints-To: groups-abuse@google.com
Injection-Info: s13g2000cwa.googlegroups.com; posting-host=81.246.30.163;
   posting-account=Wn8Dzw0AAADBlmrHDaMaBID43Tq7b6Bl