[Aldor-l] Compiling setup
Christian Aistleitner
tmgisi at gmx.at
Sun Aug 13 05:52:01 EDT 2006
Hello,
On Sun, 13 Aug 2006 02:02:25 +0200, Gabriel Dos Reis
<gdr at integrable-solutions.net> wrote:
> 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.
sadly enough, this seems to have been a private discussion and has not
been posted to aldor-l -- Or did I miss it?
> [...]
>
> | 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".
For those being not familiar with C or C++:
These languages also provide a modifier const (just doing what its name
suggests), which Aldor (currently) lacks.
--
Kind regards,
Christian
More information about the Aldor-l
mailing list