igiLanguageErrors

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.

IGI

Parameters & Returns

Parameters

lang Int

Returns

String

Quick Summary

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.

Technical Exegesis...

For checking a .lang file you're writing: unknown settings, bad colours, bad patterns and so on, each with its line number. They are printed to the console too.

This can be called any time, in Main or in the loop. The .lang file format is on its own page. See the IGI guide.

Returns: The problems found in the language's .lang text, one per line, or "" if there are none.

Example

Example.bam
Local problems:String = igiLanguageErrors(lang)
If problems <> "" Then Print problems