[Aldor-l] Compiling setup

Gabriel Dos Reis gdr at integrable-solutions.net
Sat Aug 12 20:02:25 EDT 2006


Ralf Hemmecke <ralf at hemmecke.de> writes:

| > | local a:String == "abc";
| > | In the second it would be quite questionable.
| ... what the value of a is after assignment
|     a.3 := char "X";

Stephen gave me an explanation and if I did understand correctly, that
assignment is also OK.

[...]

| Just being curious... is there a legal C program that defines a
| constant array, and a pointer (or whatever) to on element of that
| array and then modifies that entry in-place?

If I understand the question correctly, the answer is "no".

[...]

| > I was quite happy to see that the Aldor distribution did not get into
| > that trap.
| 
| Hmm, really? 

Yes, for all practical pruposes, I find the distinction artificial.

-- Gaby



More information about the Aldor-l mailing list