The current snippet appears this way
The sub part is not working as it tries to find the subscripts within the dynamic menu (I know its not exactly dynamic) where it doesn't exist. But the load also doesn't work. It discards the label part and loads the menu for the actual script showing"MenuTLC"
$self=self(file) ;
$MENU="" ;
$MENU=$MENU."Filter Tagged |:tagsfind" <crlf> sub _FilterTagged <crlf> ;
$MENU=$MENU."Filter Labeled Items |:findlabel" <crlf> sub _FilterLabeled <crlf> ;
$MENU=$MENU."Searching $p_recursive" <crlf> load "$self","_SearchingWhere" <crlf> ;
load $MENU, , 's';
"MenuTag"
$MENU=$MENU."Filter Tagged |:tagsfind" <crlf> sub _FilterTagged <crlf> ;
load $MENU, , 's';
"_FilterTagged"
...
"_FilterLabeled"
...
"_SearchingWhere"
...
MenuTLC and MenuTag
I have tried heredoc as well but no joy. Any idea how to get this done.
XYplorer Beta Club