Articles with the Haxe tag

Page 1 / 3 »

  1. hxml tricks every haxe user should know

    Mon 04 March 2013

    Haxe projects usually are compiled with a hxml file, which basically contains compiler arguments. So most of the tricks I am going to show are actually compiler arguments tricks, which may also applicable to nmml file or IDE that does not use hxml (though they should).

    1. Run project right ...

    continue reading
  2. Haxe tips: everything is an expression

    Sun 14 October 2012

    In Haxe, nearly everything is an expression. (Things that aren’t: import statement, class declaration etc, which are at module level). And every expression can be evaluated to a value.

    A block is an expression that is evaluated to the last expression inside the block:

    var v = {
        //some code
        123 ...
    continue reading

Page 1 / 3 »