Re: Power operator fails in ordinal range definition

Hairy Pixels via fpc-pascal <[email protected]>
Newsgroups gmane.comp.compilers.free-pascal.general
Message-ID <CAGsUGtn-jzxO3W2oEb-XVkxAi5A_wC18LuN4rPFD4edCKNi5sA@mail.gmail.com>
 On Nov 14, 2024 at 1:53:17 PM, Sven Barth via fpc-pascal <
[email protected]> wrote:

> The **-operator is not *implemented* by the compiler. It's provided
> through the Math unit. Thus you can't use it in constant declarations.
>

Why is that? That means you can do powers in types or constants right?

Regards,
    Ryan Joseph

_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.