In the WinTask Support forum, I see that they have responded this way:
[ QUOTE ]
you will have this error if the structure of the script after the inclusions does not follow the structure allowed by the Compiler, so :
Main program third
And in the Functions/Subs section, a function/Sub cannot call another one which has not been declared before. Plus unique names are allowed for the different functions/subs.