Corsaair / redtamarin

AS3 running on the command line / server side
http://redtamarin.com
Other
119 stars 23 forks source link

where is the 0.4.2 #185

Closed matrix3d closed 4 years ago

matrix3d commented 4 years ago

can not find the api start inthe Program

In Redtamarin v0.4.2 we introduced Program.start().

package
{
    // all the imports and syntax completion use redtamarin definitions
    import C.unistd.*;

    // do not extends Sprite
    public class Main
    {
        public function Main()
        {
            trace( "hello world" );
            trace( "hostname: " + gethostname() );
        }
    }

}

/* Note:
   you need to create the entry point
   eg. tell the runtime which class you want run
*/
import shell.Program;
Program.start( "Main" ); // entry point
zwetan commented 4 years ago

not released yet