News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

HLA v1.75 preannouncement

Started by Randall Hyde, March 23, 2005, 02:55:49 PM

Previous topic - Next topic

Randall Hyde

Hi All,
I'm currently working on the last few issues in the next ADK update (mainly, porting the code to Linux) and once that's ready to go I'm going to tackle the v1.75 update to HLA. Now would be a good time to report errors and other issues concerning HLA v1.74. Even if you've reported them before, go ahead and post them here.
Thanks,
Randy Hyde

Sevag.K

I'm still having difficulty getting the enumBT macro to work on Linux version.
This macro works on Windows:

#macro enumBT( _enums_[] ):_curEnumValue_, _curEnum_;

    ?_curEnumValue_ := 0; // Or whatever starting value you want
    #for( _curEnum_ in _enums_ )

        ?@text(_curEnum_) := @{_curEnumValue_};
        ?_curEnumValue_ += 1;

    #endfor
#endmacro


On linux, I have to write it out individually:

bit0 := @0;
bit1 := @1;
...


Randall Hyde

Quote from: Sevag.K on April 01, 2005, 01:45:41 AM
I'm still having difficulty getting the enumBT macro to work on Linux version.
This macro works on Windows:

#macro enumBT( _enums_[] ):_curEnumValue_, _curEnum_;

    ?_curEnumValue_ := 0; // Or whatever starting value you want
    #for( _curEnum_ in _enums_ )

        ?@text(_curEnum_) := @{_curEnumValue_};
        ?_curEnumValue_ += 1;

    #endfor
#endmacro


On linux, I have to write it out individually:

bit0 := @0;
bit1 := @1;
...



I can't remember if I explicitly fixed this or if it got fixed while I was cleaning up other stuff, but it seems to be working fine in HLA v1.75.
Cheers,
Randy Hyde