Executing Xbasic statements in the Watch list
- You can enter and execute an Xbasic statement in the Expression list to test what a line will do when it executes, or to test other conditions.
- If your test produces an error message, you can manipulate the Xbasic in the Expression list until you see the result you want in the Values list.
- This does not change the value in the variable, only in the Values list.
- Example: If you suspect a Character variable may contain only spaces, but you can’t tell, test it for <> NULL.
In the Expression list, enter arrayCount = 3, and press the Tab key. In the Values column, Xbasic will reply .F.
If you continue experimenting with the Debugger, remember to Halt and Exit the Debugger, and to remove or “remark” the debug instructions in your application.