I have tried few things, like this:
var w:function() = ww1(1);
function ww1(p:int)
{
print(p);
}
function ww2()
{
print(2);
}
I have tried few things, like this:
var w:function() = ww1(1);
function ww1(p:int)
{
print(p);
}
function ww2()
{
print(2);
}
In JS for example:
var fn = Myne;
function Start () {
fn (2);
}
function Myne (j : int) {
print ("it's "+j);
}