This script code is compilated
Test @cur_test;
class Test
{
void Do()
{
cur_test.DoFail();
}
}
void DoFail()
{}
Test @cur_test;
class Test
{
void Do()
{
cur_test.DoFail();
}
}
void DoFail()
{}
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
int some_val{ }[/quote]
Visual Studio for this code say
error C2470: 'some_val' : looks like a function definition, but there is no parameter list; skipping apparent body[/quote]
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game