lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi !
 
I use Lua soon for my ImageProcessNetwork Software, atm i devloop
all the interfaces how i need for that, all works succs!
 
But i must have in luascript an  
 
function this.Test(this, x, y)
   this:MyFunction()      ->  and here i must call my functions via "this" 
end
 
i need an script unless this statements  looks so
 
function Test (x, y)
    MyFunction() ;    
end
 
in VBA i must too use the statement Objectname.MyFunction()    can't  use it so for my customers
 
my C++ code cant find Functions unless "this" statement in lua script..
what i do wrong, in the game WOW u need that not :-)
 
thanks for all helps