![]() |
DATABASE / Databases / Create databases |
Names of chemical species:
Names must end with either a comma, a semicolon, or an end-of-line,
and therefore blank space is allowed inside a name, but a comma or semicolon
can not be included in a name or text. For example:
Although it is not possible to include a comma in a name or text, it is however possible to include a semicolon by enclosing the whole name in quotes:
This means that if a quote (either " or ') is found at the start of a name, DATABASE will look for the ending quote (assuming there is no comma between these two quotes), it will read the text between them and it will remove the enclosing quotes:
will be read as two names (
does not start with a quote, and will be read as a single name.
Quotes: To include quotes at the start of a name in a database, use two quotes and enclose the whole name in quotes, or enclose the whole name in single quotes, etc:
another possibility: |
DATABASE will remove the enclosing quotes when reading the database. Note that SPANA does not remove quotes from input files when making diagrams.
Single quotes in names have special meaning when making diagrams, and you can use them in names:
(in this case the name does not start with a quote, and there is no need to enclose the whole text with extra quotes for DATABASE).
Slash (/): names can not start with a slash and they can not contain / (a space followed by a slash), because it will be taken as the beginning of a comment:
is correct, but | |||
will read as |
Electric charges of aqueous species are read from the last characters of a name, in two possible ways:
Phase state: it is indicated at the end of the name
solid |
ending in (cr) or (c) for crystalline, (s) for solid, (am) for amorphous solid.
For example: | ||
gas |
ending in (g) like | ||
liquid |
ending in (l) like | ||
aqueous |
any name not ending in |
Name begins with:
Numbers:
Real values can be entered with or without decimal point
(i.e.,