> Function SomeFunc()
> 
> No combination works. Although the code above successfully calls the 
function.
> 
> Why should I indicate the script name if the function is in the same 
file? What is the simplest and correct code? What is my mistake?
>


PowerPro interprets "being in the same file" at the time that the 
command is executed.  In your case, when the command is executed, it is 
part of a button configuration.  Commands run from buttons are not 
considered part of any file, so the full path to functions must always 
be specified.

PowerPro does not see the fact that this button's function call command 
was originally added by a script command from a file when it runs the 
command.

Reply via email to