GEOS SDK TechDocs
|
|
4.2 Currency
|
4.4 Dates and Times
LocalGetQuotes(), LocalSetQuotes()
In different countries, people use different types of quotation marks. Germans, for example, might use the » and « characters. Although traditionally, the only computer-generated quotation marks available are " and ", GEOS allows all geodes to use native quotation marks without extraordinary effort.
If a user types in a quotation mark, the keyboard knows which character to print; thus, if you're using
ResEdit
on a string, it's easy to have your translator type in the correct character. In these cases your geode will have no use for
LocalGetQuotes()
or
LocalSetQuotes()
. On the other hand, if your program is going to construct a string which contains quotation marks, use the
LocalGetQuotes()
routine; it will return the correct characters to use. If you want to reset the preferences, use the
LocalSetQuotes()
routine.
These routines work with the
LocalQuotes
structure, which simply holds four characters to use as the four kinds of quotation mark.
GEOS SDK TechDocs
|
|
4.2 Currency
|
4.4 Dates and Times