If this is a one-time job, you can just stop AOS and open the tag file in notepad. This is in your folder named axXXXen-us.ald, where XXX is the name of your tag file, and en-us is your language.
Take a look at the \ Tutorial_ThreadWork \ doTheWork classes to see where they use while (sLabel) instead of the for loop, as you have.
container doTheWork(Thread t,LabelType searchFor) { container retVal; SysLabel sysLabel = new SysLabel(LanguageTable::defaultLanguage()); str slabel; ; slabel = sysLabel.searchFirst(searchFor); while (slabel) { retVal += sLabel; slabel = sysLabel.searchNext(); } return retVal; }
Since the tag file is a text file, it makes sense that you cannot just select the latter, but you need to iterate over the file. However, AX caches tags, but I donβt think you can easily access the shortcut cache as far as I know.
Finally, I hope you do not try this, but do not try to just read the text file with the inscription, because AX sometimes has tags that it did not blush into this file from the cache. I think Label :: Flush (...) will clear them, but I'm not sure.
source share