Introduction | Getting Started | CED Features | CED Commands | Index |
Syntax: |
VBRIGHT "variable-name"[,starting-line] [,ending-line]
(or) VBRIGHT variable-name[,starting-line] [,ending-line] |
Discussion: |
VBRIGHT locates and displays, in context, source lines containing
the specified variable name.
The internal search logic is very straightforward. The VBRIGHT command examines the character immediately preceding and the character immediately following the specified search string. If either of those characters contains a number, letter, single quote, or double quote, the string is skipped (i.e., it's not an MTB variable name). Likewise, if the character immediately following the search string contains a dollar sign, the string is skipped. Otherwise the search could return string variable names when you were trying to find numeric variable names (A versus A$, for example). |
Examples: |
VBRIGHT "I" locates and displays the variable named I VBRIGHT I locates and displays the variable named I VBRIGHT A$ locates and displays the variable named A$ |