| Prev | Next | Script Verbs > script.unComment |
script.unComment
| Syntax |
script.unComment ()
|
| Params |
None required
|
| Action |
Converts the current line in the target script window back to a normal statement.
|
| Returns |
True of the line on which the bar cursor is located is a comment before this verb is called, false if it was not already a comment.
|
| Examples |
In examples.counter, go to the end of the outline and press the Return key while holding down the Shift key. This is a shortcut for creating a comment line in a Frontier script. Now execute: script.unComment ()
Notice that the comment chevron changes to an outline marker (right-pointing triangle).
Now move the bar cursor to the next subheading, "h = 15" and then execute:
Notice that no change takes place in the outline and that Frontier returns False. This is becuase you cannot uncomment a line that is indented under a comment line. |
| Errors |
If you attempt to uncomment a line which is not a comment, Frontier returns False but does not report an error.
|
| Notes |
This is an advanced Frontier verb of primary interest to implementers and advanced scripters. It is not necessary to understand it to use Frontier effectively for most tasks. Comments only have meaning in scripts.
|
| See Also |
script.makeComment
|
| Prev | Next | Script Verbs > script.unComment |