CSV Validation

From Archon Wiki
Jump to navigation Jump to search

CSV Validation

Validation of CSV entries is as follows:

  • For integer entries

Only

[0,9]
-    (minus character)

are allowed.

  • For string and define entries

By default only

[0,9]
[a,z]
[A,Z]
$    (dollar sign)
_    (underscore)
.    (period)

are allowed. But you can expand this using a CORE/TEMPLATECHARS.TXT file. This file can have any number of entries of the form

VALID "X"

Where X can be any valid ascii character. The string following VALID must be exactly 3 chars long and surrounded by speech marks (").