Heya fellas! How am i supposed to translate this into asm? enum XML_Content_Type { XML_CTYPE_EMPTY = 1, XML_CTYPE_ANY, XML_CTYPE_MIXED, XML_CTYPE_NAME, XML_CTYPE_CHOICE, XML_CTYPE_SEQ }; Btw has anybody toyed with the Expat XML parser library and/or any other XML parser? Thanks as per usual. Latigo
Posted on 2001-06-01 12:12:00 by latigo

.const
XML_CTYPE_EMPTY  equ 1
XML_CTYPE_ANY    equ 2
XML_CTYPE_MIXED  equ 3
XML_CTYPE_NAME   equ 4
XML_CTYPE_CHOICE equ 5
XML_CTYPE_SEQ    equ 6
:D Mirno
Posted on 2001-06-01 12:20:00 by Mirno
You can use "EQU" : XML_CTYPE_EMPTY EQU 1 XML_CTYPE_ANY EQU 2 (etc)
Posted on 2001-06-01 12:20:00 by karim
Hey guys thanks very much :) Latigo
Posted on 2001-06-01 14:10:00 by latigo
Mirno, You don't need to use a .CONST. You are not defining variables, but constants that will exist only during compilation. There will be no space allocated to them in the executable.
Posted on 2001-06-02 02:27:00 by karim