For checking a .lang file you're writing: unknown settings, bad colours, bad patterns and so on, each with its line number. Takes lang (A language handle). Returns: The problems found in the language's .lang text, one per line, or "" if there are none.
lang
Int
Local problems:String = igiLanguageErrors(lang)
If problems <> "" Then Print problems