modules using textmacros and implementations

GFreak45

I didnt slap you, i high 5'd your face.
Reaction score
130
IE:
JASS:
module Example
    implement OtherModule
    //! runtextmacro ExampleTM
endmodule


would this work?
like would it compile correctly and not have wierd results
 

tooltiperror

Super Moderator
Reaction score
231
Textmacros work exactly how they appear. They are low level scripting tools. Code will compile with the textmacros expanded.

JASS:
//! textmacro AIDS
     implement AIDS
//! endtextmacro
module Example
    //! runtextmacro AIDS()
endmodule


This will be converted to this:

JASS:
module Example
    implement AIDS
endmodule


And after all textmacros are expanded, then JASSHelper will compile it as vJass.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top