Hallo Martin,
Du schriebst am Tue, 6 Jun 2017 13:12:33 +0200:
> Because case in records is crap. It misleadingly pretends that there is
> access type control by the tags and it is clumsy.
No, that's not the case generally. It is so for the Borland dialects, but
not for others. There _are_
On Tuesday 06 June 2017 13:32:28 Michael Schnell wrote:
> On 06.06.2017 13:12, Martin Schreiber wrote:
> > Because case in records is crap. It misleadingly pretends that there is
> > access type control by the tags and it is clumsy.
>
> Right you are. But it never had been different in Pascal :(
>
On 06.06.2017 13:12, Martin Schreiber wrote:
Because case in records is crap. It misleadingly pretends that there is access
type control by the tags and it is clumsy.
Right you are. But it never had been different in Pascal :(
-Michael
On Tuesday 06 June 2017 11:36:34 Michael Schnell wrote:
> On 04.06.2017 06:21, Martin Schreiber wrote:
> > Yes, and the replacement of "case" in pascal records.
>
> Why introduce a completely new notation instead of just stay with
> "case" ? This would be rather obvious in Pascal.
>
Because case
On 04.06.2017 06:21, Martin Schreiber wrote:
Yes, and the replacement of "case" in pascal records.
Why introduce a completely new notation instead of just stay with
"case" ? This would be rather obvious in Pascal.
-Michael
maybe additional keyword !
tcolor = object
union
cl : record // should be another option for anonymous record !?
r,g,b : byte;
end;
rgb : array[0..2] of byte;
end;
end;
but i like your brackets solution , less verbose , better than case of
On Sunday 04 June 2017 15:34:14 code dz wrote:
> good , even the brackets is not informative for that purpose .
Alternatives?
Martin
--
Check out the vibrant tech community on one of the world's most
engaging tech
good , even the brackets is not informative for that purpose .
but , less typing is always good ;)
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!
On Saturday 03 June 2017 18:46:20 code dz wrote:
> do you mean like union in c++
>
Yes, and the replacement of "case" in pascal records.
Martin
--
Check out the vibrant tech community on one of the world's most
engaging
do you mean like union in c++
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
10 matches
Mail list logo