data?
ThreadCommand dword ?
__________________________________________

mov ThreadCommand ,FALSE

or

mov ThreadCommand ,TRUE

is their anything wrong with this syntax?
Posted on 2001-09-21 20:49:41 by titan
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
Posted on 2001-09-21 22:58:31 by NaN
i think the problem lies in my structuring

:alright:
i hate it when i have to actually work
Posted on 2001-09-21 23:13:02 by titan