07.10.2016, 20:12
Hi, can someone explain the sense behind putting a forward before a public function? Because it makes no sense to me.
When do I need to put the forward before a public function and why?
I am used to just calling the specific method/function from another method, for example:
public void Test() {
AnotherTest();
}
public void AnotherTest() {
//...
}
How does it work here? How do I call a function from another function?
And also: Here return 1 is success and 0 is failure? It seems that 1 is failure and 0 is success in other languages.
When do I need to put the forward before a public function and why?
I am used to just calling the specific method/function from another method, for example:
public void Test() {
AnotherTest();
}
public void AnotherTest() {
//...
}
How does it work here? How do I call a function from another function?
And also: Here return 1 is success and 0 is failure? It seems that 1 is failure and 0 is success in other languages.