The MASM Forum Archive 2004 to 2012

Project Support Forums => HLA Forum => Topic started by: Randall Hyde on March 23, 2005, 02:55:49 PM

Title: HLA v1.75 preannouncement
Post by: Randall Hyde on March 23, 2005, 02:55:49 PM
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
Title: Re: HLA v1.75 preannouncement
Post by: 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;
...

Title: Re: HLA v1.75 preannouncement
Post by: Randall Hyde on April 01, 2005, 05:01:17 AM
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