String Handling / Entity References
As of ginmake 1.33, it is possible to use entity references in strings for names etc.
These are very similar to HTML entity references, but they have a different syntax - the ‘&’ and ‘;’ characters are replaced with the $ symbol.
e.g.
< codes for <
This becomes:
$lt$ in ginmake syntax.
Entity references enable us to circumvent the issuse of the DOS and ANSI code pages not entirely overlapping one another and also allows other special characters that may not be present in these codepages.
For example, the capital ‘omega’ symbol is in the DOS codepage, but not in the ANSI codepage. The symbol can now be represented with $Omega$.
If you find that an entity is not supported, you can enter the value of the code-point directly.
e.g. These each code for Capital Letter Omega:
$Omega$
$#x03A9$
$#937$
Be aware that entities are case sensitive. $Omega$ and $omega$ are not the same!