hschumann2/TempleOS-Source-Code
0838
1 2TempleOS has a string indirection feature implemented with the same hash symbol3table entry as #define macros, HTT_DEFINE_STR. Support for string lists is also4provided, but it's not very efficient, though, you can make a hash table with a5list using HashDefineLstAdd(). See ::/Adam/DolDoc/DocInit.HC.6 7If you have an @ as the first char of a define list entry, it is an alias for8the prev entry num.9 10Each task can load its own Define strings. Remember, when a Hash table is11searched for a string, if it is not found, the parent task's table is searched.12 13The DolDoc framework supports text that changes based on entries in the task's14symbol table. Set a text entry with a D= arg, as in $TX,"",D="DD_MYSTRING"$.15See ::/Demo/DolDoc/DefineStr.HC, ::/Adam/ADefine.HC and ::/Doc/MemOverview.DD.16 17See ::/Demo/Define.HC.18 