157. ATTEMPT TO USE @INDEX ON AN UNDEFINED SET.
LINGO can’t compile an instance of the @INDEX function without knowing of the existence of the set that @INDEX is referencing. Move the expression with the @INDEX function after the set definition to correct this problem.