Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Oberon > Re: Of constant...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 27 of 28 Topic 442 of 500
Post > Topic >>

Re: Of constants and variables

by Ulrich <keine@[EMAIL PROTECTED] > Dec 2, 2007 at 07:23 PM

August Karlstrom wrote:
> Stefano Ferrari skrev:
>=20
>> On 21 Ott, 13:47, August Karlstrom <fusionf...@[EMAIL PROTECTED]
> wrote:
>>
>>> But in C an array decays into a pointer when it is passed as an argum=
ent
>>> to a function. In Oberon the entire array is copied.
>>>
>>> August
>>
>>
>> ... unless in Oberon array are passed as by reference (VAR parameters)=

>=20
>=20
> Of course. I was primarily comparing call by value semantics in Oberon =

> with C.
>=20
>=20
> August

In C gibt es eben nur eine Art, einen Parameter zu =FCbergeben, weshalb e=
s nicht klar ist, mit welcher Oberon-Parameter=FCbergabeart man die vergl=
eichen soll.
Aber wenn man schon vergleichen will, liegen Oberon-Referenzparameter
n=E4=
her, denn in C werden fast immer Zeiger =FCbergeben - nur bei einfachen D=
atentypen nicht. Es sieht also auf den ersten Blick so aus, als ob C nur =
Werteparameter kennt, da aber meist Zeiger =FCbergeben werden, verh=E4lt =
es sich in der Praxis so, als ob mit Referenzparametern gearbeitet w=FCrd=
e.
 




 28 Posts in Topic:
Of constants and variables
"Xcriber51" <  2007-10-18 07:05:37 
Re: Of constants and variables
Stefano Ferrari <ferra  2007-10-18 07:36:44 
Re: Of constants and variables
"Xcriber51" <  2007-10-18 11:02:56 
Re: Of constants and variables
pjb@[EMAIL PROTECTED] (P  2008-06-13 20:55:42 
Re: Of constants and variables
Stefano Ferrari <ferra  2007-10-19 01:22:44 
Re: Of constants and variables
Stefano Ferrari <ferra  2007-10-19 01:34:25 
Re: Of constants and variables
"Xcriber51" <  2007-10-19 07:28:00 
Re: Of constants and variables
"Xcriber51" <  2007-10-22 05:41:51 
Re: Of constants and variables
"Chris Burrows"  2007-10-22 22:26:19 
Re: Of constants and variables
"Xcriber51" <  2007-10-22 12:20:08 
Re: Of constants and variables
"Chris Burrows"  2007-10-23 08:58:31 
Re: Of constants and variables
Stefano Ferrari <ferra  2007-10-19 06:09:17 
Re: Of constants and variables
"Chris Burrows"  2007-10-19 23:16:52 
Re: Of constants and variables
=?ISO-8859-1?Q?Christian_  2007-10-19 18:43:54 
Re: Of constants and variables
fmw@[EMAIL PROTECTED] (F  2007-10-19 16:06:35 
Re: Of constants and variables
=?ISO-8859-1?Q?Christian_  2007-10-19 18:33:11 
Re: Of constants and variables
August Karlstrom <fusi  2007-10-21 11:47:08 
Re: Of constants and variables
Ulrich <keine@[EMAIL P  2007-12-02 19:15:58 
Re: Of constants and variables
Ulrich <keine@[EMAIL P  2007-12-02 19:13:44 
Re: Of constants and variables
comp.lang.oberon@[EMAIL P  2007-12-02 23:01:11 
Re: Of constants and variables
Ulrich <keine@[EMAIL P  2007-12-07 00:23:22 
Re: Of constants and variables
comp.lang.oberon@[EMAIL P  2007-12-07 09:47:11 
Re: Of constants and variables
August Karlstrom <fusi  2007-10-21 11:58:00 
Re: Of constants and variables
Ulrich <keine@[EMAIL P  2007-12-02 19:29:01 
Re: Of constants and variables
Stefano Ferrari <ferra  2007-10-21 14:52:20 
Re: Of constants and variables
August Karlstrom <fusi  2007-10-22 17:57:46 
Re: Of constants and variables
Ulrich <keine@[EMAIL P  2007-12-02 19:23:15 
Re: Of constants and variables
fmw@[EMAIL PROTECTED] (F  2007-10-22 10:20:49 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Oct 14 9:56:53 CDT 2008.