what does 'n' mean?

afisakov

You can change this now in User CP.
Reaction score
37
I know people use
Code:
 'd'
to mean 100 sometimes, but I never understood how that numbering system worked.
I am trying to find out what 'n' translates into, all I can figure out is it is probably an integer>100.
I also want to decode 'e' while I am at it and would prefer an a basic explanation of how this numbering works.

wc3 translates it fine inside the map.j but I am not sure jasscript will do the same.
 

dracolich

TH.net Regular
Reaction score
15
every letter have unique http://www.asciitable.com/ ascii-code, which is used when you select it by apostrophes.
'd' == 100
'e' == 101
multiplication performed in usual way for non-decimal based numbers, where ASCII-letter have base 256:
'de' == 256*'d' + 1*'e' = 256000 + 101
'def' == 256*256*'d'+256*'e'+1*'f'=256*256*100+256*101+1*102
 
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