comp.lang.ada
 help / color / mirror / Atom feed
From: "mr1yh1" <mr1yh1@yahoo.com>
Subject: Re: a beginner question
Date: Thu, 21 Oct 2004 14:16:14 -0400
Date: 2004-10-21T14:16:14-04:00	[thread overview]
Message-ID: <fb50dea3ef5aad68db623e01a36835dc@localhost.talkaboutprogramming.com> (raw)
In-Reply-To: 10b97a973c8cc17010b8a5e9d55be273@localhost.talkaboutprogramming.com

thank you for all comments
i read more about discriminants 
and i realised 
they are different things that i used to use till now :)...

i realise my mistake too , 
i made it possible to access a variable in two ways
( first discriminant give a value ,but its a record and its possible to
change it, in normal ways )

and i see now 
the right way to use discriminants give a chance to do something which is
not possible  in another way ...
i saw in the examples:
-- they make possible to initialize the types of variables
( arrays,strings ...)
-- and they make possible to use different spesifications in same record
for different discriminant values

regards




      parent reply	other threads:[~2004-10-21 18:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-20 23:01 a beginner question mr1yh1
2004-10-20 23:53 ` Björn Persson
2004-10-21 11:47 ` Marius Amado Alves
2004-10-21 18:16 ` mr1yh1 [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox