HPlogo HP/DDE Debugger User's Guide: HP 9000 Series 700/800 Computers > Chapter 5 Using Debugger Commands

Resolving Syntax Conflicts

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Glossary

 » Index

Some debugger commands, such as the print command, take programming language expressions as arguments. This may cause a problem if the programming language's syntax conflicts with the debugger's command language syntax.

For example, a conflict occurs if you use a valid option to a debugger command, such as -hex, within a program expression.

You can usually resolve syntax conflicts by enclosing expressions that are used as arguments in parentheses. Consider the following print commands:

print (abc -hex)

Prints the value of abc minus the value of hex.

print abc -hex

Prints the value of abc in hexadecimal.