awips2/cave/com.raytheon.viz.gfe/help/TextProductUserGuideNarrative/notes101.txt
2022-05-05 12:34:50 -05:00

5 lines
464 B
Text

Given a node and a text string of words, the setWords method first sets the "words" attribute for the given sub-phrase node:
     node.set(.words., words)
Then it returns the "self.DONE()" flag so that the word method will not be called again. IT IS VERY IMPORTANT that a word method always return the "self.DONE()" flag. If it does not, an infinite loop could occur. We will look at this more closely in the Trouble-shooting section.