PaladinWhite
Member
I have a script, myScript.ash, which contains the function function1().
This CLI documentation leads me to believe that I can call that function from the CLI:
	
	
	
		
But how should that call be formatted? Neither "function1" nor "call function1", prefixed with the script name or not, with or without parentheses, works. I'm sure this is a simple command-formatting issue.
> function1
unable to invoke function1
> function1()
unable to invoke function1
> myScript.function1
unable to invoke myScript.function1
> myScript.function1()
unable to invoke myScript.function1()
> call function1
unable to invoke function1
> call function1()
unable to invoke function1
> call myScript.function1
unable to invoke myScript.function1
> call myScript.function1()
unable to invoke myScript.function1()
				
			This CLI documentation leads me to believe that I can call that function from the CLI:
		Code:
	
	call 	[numberx] filename | function [parameters] 	check/run script.But how should that call be formatted? Neither "function1" nor "call function1", prefixed with the script name or not, with or without parentheses, works. I'm sure this is a simple command-formatting issue.
> function1
unable to invoke function1
> function1()
unable to invoke function1
> myScript.function1
unable to invoke myScript.function1
> myScript.function1()
unable to invoke myScript.function1()
> call function1
unable to invoke function1
> call function1()
unable to invoke function1
> call myScript.function1
unable to invoke myScript.function1
> call myScript.function1()
unable to invoke myScript.function1()
 
	