Hi,
How do I call a function from another class, in the same "package"?
In java we used import ourneedclass; and then we called ourneedclass.ourneedfun();
Simple question (call function from another class)
-
- Average
- Posts: 61
- Joined: Thu Jun 03, 2010 3:53 pm
Re: Simple question (call function from another class)
You can declare the function as a static function, then call it like this:
Code: Select all
class'ClassName'.static.YourFunction(parameters);