Script does not contain any valid lines?!

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
MBaas
Posts: 596
Joined: 15 Feb 2016 21:08

Script does not contain any valid lines?!

Post by MBaas »

I have a nice small script:

Code: Select all

    include "FSquare.xyi";
    $men = GenFMenu("","","df",2,0, "goto %");
    echo "done";
When I attempt to load it, XY complains it's not valid ("Script file '...FSquare-build.xys' does not contain any valid lines.")
These lines were part of a larger script where they executed flawlessly - so what's the problem now?

P.S: ouch - found it: the included script contained a function that didn't end (last "}" was missing). Fixing that file solved the problem!
______________________________________________
Happy user ;-)

Post Reply