Page 1 of 1

Script does not contain any valid lines?!

Posted: 05 May 2024 14:06
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!