I wasn't sure what to expect, but the first thing that I noticed was that line 7 had a compile error "invalid expression". I changed the code to the following and tried again:
#include "slick.sh"
defmain()
{
args:=arg(1);
filename:=parse_file(args,false);
if (filename!="") {
// We want this one to act like user typed command on command line
// except we don't look for internal editor commands.
_str vslickpathfilename=slick_path_search(filename,"");
// We want this one to act like user is at shell prompt.
_str pathfilename=path_search(filename,"","");
_str msg="VSLICKPATH found <"vslickpathfilename"> PATH found <"pathfilename">";
sticky_message(msg);
}
}
That resulted in the following message in the status line:
VSLICKPATH found <> PATH found <>
I'm not sure if that helps or not.