I assume, we are talking about ObjectScript? Then you got in the main method a <SYNTAX> error because "calling" is not a command keyword. So what are you really doing? We don't need the whole main method, the line with the call would be enough. By the way, a method name like "this_method" is not a valid name except if you place it in (double)quotes. Something, which is formal correct, looks like this:
Method "this_MainMethod"()
{
do ..SecondMethod()
}
Method SecondMethod()
{
// ...
}- Log in to post comments