Hey there,
this is the code:
things as dword
#constant thingo &1
things = thingo
print things
wait key
which just WONT work. it just baffles me. Im sure there will be posts saying that it works fine for you guys - which leads me to think that it has something to do with my version of darkbasic. I installed the latest update, but since i had lots of troubles with that, i reinstalled the previous update (without uninstalling darkbasic first).
But heres the stupid part: this
#constant hi %1
this as dword
this = hi
print this
wait key
works fine. Im posting here as a last straw, because i understand this problem seems absolutely nonsensical. Is it something to do with how dbp stores memory with the variable?
Anyways, i attached the project and sources for this.
Thanks, and really hoping for a fix. im at my wits end
Aralox
EDIT: I tried putting the #constant in front for the first example, but it still doesnt work (this doesnt work:
#constant hi &01
things as dword
things = hi
print things
wait key
)