haXe Forum > .hx:3:

  • Hello, I am new to programming haxe, and I wanted to know how to remove it. Hx: 3: before the text, for example:

     class Index (
        static function main () (
            trace ( "Hello World!");
        )
    )

    and this gives me Index.hx: 3: Hello World!

    How to display just Hello World! Please

  • "trace()" is specifically for outputting debugging information, it's not for normal text output. For normal text output: On PHP, use "php.Lib.print()". On Flash, attach a "TextField" object to a MovieClip and use that. There are similar methods for Flash9, Neko and C++, but I'm not sure offhand what they are, so you'll have to check the API reference here: http://haxe.org/api

  • Ok, thanks =)

< Prev | Page 1 / 1 | Next >