data?
ThreadCommand dword ?
__________________________________________
mov ThreadCommand ,FALSE
or
mov ThreadCommand ,TRUE
is their anything wrong with this syntax?
ThreadCommand dword ?
__________________________________________
mov ThreadCommand ,FALSE
or
mov ThreadCommand ,TRUE
is their anything wrong with this syntax?
Other than the fact you should have a '.' befor the word data, no. :grin:
But i think i know where your going with this. TRUE and FALSE are simple equated values. They are not MASM specific words. They are defined in WINDOWS.INC. So if your compiling something that doesnt use windows.inc your compiler probably wont have anything to equate these labels with.
To do i manually (for when you dont use windows.inc):
TRUE equ 1
FALSE equ 0
And for case insensitive:
true TEXTEQU <TRUE>
false TEXTEQU <FALSE>
I hope this helps...
NaN
But i think i know where your going with this. TRUE and FALSE are simple equated values. They are not MASM specific words. They are defined in WINDOWS.INC. So if your compiling something that doesnt use windows.inc your compiler probably wont have anything to equate these labels with.
To do i manually (for when you dont use windows.inc):
TRUE equ 1
FALSE equ 0
And for case insensitive:
true TEXTEQU <TRUE>
false TEXTEQU <FALSE>
I hope this helps...
NaN
i think the problem lies in my structuring
:alright:
i hate it when i have to actually work
:alright:
i hate it when i have to actually work