[Oberon] identity of two VARs
Douglas G. Danforth
danforth at greenwoodfarm.com
Wed Sep 14 22:15:58 CEST 2005
Dan Parnete wrote:
> Douglas G. Danforth wrote:
>
>> Folks,
>> One benefit of Component Pascal over Oberon is this distinction on
>> strings. The symbol '$' is introduced to designate the contents of a
>> string array as contrasted to the pointer to the array. If x is a
>> pointer to an array of characters then x$ are the characters to which
>> x points. Hence comparisons of the type x=y and x$=y$ are different!
>> -Doug
> Is the same for Oberon if you use x, y: POINTER TO ARRAY OF CHAR.
> x = y is different of x^ = y^, isn't it?
>
> Dan Parnete
Ah, yes! Much simpler.
-Doug
More information about the Oberon
mailing list