hi all,
need a little help calling a skill function from script.
I have a skill file doSomething.il and a function CalldoSomething(). i have it working if i call the CalldoSomething() from a file, but can't make it work to call from a script file. The file doSomething.il is loaded during the allegro start up using custom menu load method, so there is no problem calling the function CalldoSomething() from a menu, but if i try to call the function from a script I'm getting Command not found.
for version1 "Command not found: CalldoSomething() "
for version 2 " Command not found: load("doSomething.il") "
any help how to call skill function from a script ? thanks.
i have tried this 2 versions in the script file the fallowing:
version 1
# Allegro script
some script code
...
skill
load("doSomething.il")
CalldoSomething()
skill exit
version 2
# Allegro script
some script code
...
skill
CalldoSomething()
skill exit