byKeyValue is not available at compilation-time right ?
Adam D Ruppe
destructionator at gmail.com
Sun Jul 25 18:34:35 UTC 2021
On Sunday, 25 July 2021 at 18:03:05 UTC, someone wrote:
> pstrExchangeID = structureExchanges[r"NYSE"d].ID;
wellllll that's a compile time constant
> structureExchanges[lstrExchangeID].location;
And that's a compile time constant.
So you could just pass the data directly as a variable. So
instead of looking up the exchanges[id], just pass the exchange.
AA's are good for runtime but if it is all compiled in you can
just do static data.
i'll be back later gotta run
More information about the Digitalmars-d-learn
mailing list