HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Some time of memory reference? 0x0540?

07-27-2006, 01:27 PM#1
The)TideHunter(
Ok, in a few maps iv seen things like

Collapse JASS:
local real r = 0x004480

What does that mean? it looks like memory to me, but i dident know you could handle memory in wc3.

Any help?
07-27-2006, 01:45 PM#2
shadow1500
You can write integers in hex, the same way you can write rawcodes, i.e:
Collapse JASS:
local integer x = 'A000'
07-27-2006, 01:54 PM#3
DioD
This is for array usage...
07-27-2006, 02:10 PM#4
Vexorian
no, it isn't, it is just a different way to type integers
07-27-2006, 03:35 PM#5
The)TideHunter(
So you can do this?

Collapse JASS:
local integer i = ffff00

EDIT: I got a error, should i write this instead?
Collapse JASS:
local integer i = 0xffff00
07-27-2006, 04:35 PM#6
TheEpigoni
You are correct sir. =). 0xffff00 would be the right way.
07-27-2006, 05:20 PM#7
PipeDream
That syntax, as he originally wrote, is valid for reals too. It's IEEE 32b floating point format. When I need a specific real, this website does the hard work for me.