The statement is not allowed inside a SUB or FUNCTION procedure or DEF FN function.