|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
Usage: (string-table-add st-name str-val)
Check for a duplicate string and, if none, then insert a new string into the string table. In all cases, returns the character index of the beginning of the string in the table.
The returned index can be used in expressions like:
string_array + <returned-value>
that will yield the address of the first byte of the inserted string. See the ‘strtable.test’ AutoGen test for a usage example.
st-name - the name of the array of characters
str-val - the (possibly) new value to add
This document was generated by Bruce Korb on October 16, 2013 using texi2html 1.82.