... Raise to power?

Mr Zero

Junior Regular (Got the T-shirt)
Reaction score
64
So what is the symbol for "raise to power"? When I entered "^" it just gave me an error.

Or do I have to multiply it myself? (2x2x2x2x...)

Thanks.
 

Mr Zero

Junior Regular (Got the T-shirt)
Reaction score
64
Another related problem, how about "%"?

It seems that the code just skips it.
 

Mr Zero

Junior Regular (Got the T-shirt)
Reaction score
64

Writing that in and make it phase to a global variable returns '

JASS:
    local string s=" !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"
    local integer i=0
    local integer j=StringLength(s)
    set udg_string[0]=I2S(j)
    loop
        set udg_string[i+1]=SubString(s,i,i+1)
        set i=i+1
        exitwhen i==j
    endloop
The 6th array in my global variable is '
While 5th is $ and 7th &

Any special rules?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top