Exponentiation

Questions about the BASICtools and MakeItC
Post Reply
YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

Exponentiation

Post by YahooArchive »

> The main problem I'm having right now is that I cant get
> the carrot ( ^ ) operator to work.

ARMbasic does not support an exponentiation operator.

I found that it showed up in your index search of the help file due to
a stale link in one of the pages, its not referenced in the table of
contents. So the help file has been corrected.

The reason why it did not generate an error in compile is that it was
originally put in for compatability to PBASIC which uses ^ for XOR,
though we chose to support XOR as VB uses.

While we could add that as an operator it would either chew up a lot
of memory space for tables or be slow (implimented with for loops).
There is no plan to add it, at this time.



Post Reply