From: hreba <f_hreba@yahoo.com.br>
Subject: Re: Array Index: substitute integer with enumeration
Date: Fri, 5 Jun 2020 17:16:42 +0200
Date: 2020-06-05T17:16:42+02:00 [thread overview]
Message-ID: <hjv5urFpc0fU1@mid.individual.net> (raw)
In-Reply-To: <rbbc83$ha9$1@dont-email.me>
On 6/4/20 7:49 PM, Jeffrey R. Carter wrote:
>
> 1. If you can get your code to compile, you can check the object code to
> see.
>
It ends here. I thought index types with the same length were
convertible, but learned now that they aren't. Moreover, 'Pos is an
attribute not of a variable, but of a type, what makes the expressions
still more clumsy. So, If I don't want to fumble around with numbers, I
have to define integer constants for the indices.
>
> Seems to me that with a design like
> Unfortunately the type is defined in an external library, so I cannot
change it.
--
Frank Hrebabetzky, Kronach +49 / 9261 / 950 0565
next prev parent reply other threads:[~2020-06-05 15:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-04 16:54 Array Index: substitute integer with enumeration hreba
2020-06-04 17:49 ` Jeffrey R. Carter
2020-06-05 15:16 ` hreba [this message]
2020-06-05 17:15 ` Jeffrey R. Carter
2020-06-09 17:25 ` Shark8
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox