There are two ways in which you can have ANA ignore text. If you wish for ANA to ignore part of a line, then prepend a semicolon (;) to the part you want to be ignored. ANA considers a semicolon (outside of a literal string -- Strings) and everything that follows it through the end of the line a comment. Such comments are totally ignored: ANA acts as if they are not there.
If you want ANA to ignore many subsequent lines, then use the
IGNORE statement as the first statement on a line just before the
ones you want ignored, and use the RESUME statement as the first
statement on a line just after the ones you want ignored. All lines
between matching IGNORE - RESUME statements are totally
ignored.
IGNORE and RESUME are the only statements in ANA that are
sensitive to position: they only work if they are the first statement on
the line. In any other position they are not recognized as statements,
and will, if still used as such, generate errors. This relatively
peculiar behavior is necessary because you might sometimes want to use
the words "ignore" or "resume" in a literal string or in a comment, and
if ANA is truly ignoring text up to the next matching RESUME then
it cannot figure out if the next RESUME it encounters is intended
as a regular RESUME statement or rather is part of a literal
string or a comment. One alternative is to check code between
IGNOREs and matching RESUMEs anyway, so it is clear if a
found RESUME is a statement or not, but then to ignore the
skipped code by not executing it. However, then the ignored code would
have to be flawless ANA code or else ANA would get confused anyway.
With the current implementation, ignored lines are like comments.
IGNORE and RESUME are not strictly reserved keywords
(Reserved Keywords) and may be used as names for variables or
keywords -- as long as they are not the first word on a line.
See also: Error Messages, Reserved Keywords, Syntax