From: AdaMagica <christ-usch.grein@t-online.de>
Subject: Re: How to check class type ?
Date: Wed, 21 Apr 2021 10:26:49 -0700 (PDT) [thread overview]
Message-ID: <d66d1eb4-f642-4962-9674-0e70ac2ca537n@googlegroups.com> (raw)
In-Reply-To: <60805c0e$0$12690$426a74cc@news.free.fr>
DrPi schrieb am Mittwoch, 21. April 2021 um 19:08:32 UTC+2:
> if var'Tag = Leaf1'Tag then
> ...
> elsif var'Tag = Leaf2'Tag then
> ...
> end if;
>
> It works. But is this correct ?
Why not?
if Var in Leaf1 then
...
elsif Var in Leaf2 then
But normally you would use dispatching.
Why do you need this?
next prev parent reply other threads:[~2021-04-21 17:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-21 17:08 How to check class type ? DrPi
2021-04-21 17:26 ` AdaMagica [this message]
2021-04-21 17:33 ` DrPi
2021-04-21 17:48 ` DrPi
2021-04-23 16:13 ` John McCabe
2021-04-21 17:40 ` Dmitry A. Kazakov
2021-04-22 8:50 ` DrPi
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox