Expression Printf - HP 68000 Series User Manual

Debugger/simulator
Table of Contents

Advertisement

Expression Printf

The Expression Printf command prints formatted output to the Journal
window.
See the Expression Fprintf command for a detailed description.
See Also
Expression Fprintf
File User_Fopen
Examples
To print the string in double quotes to the journal window followed by the
floating point value of 'temperature' with a precision of 2:
Expression Printf "The value of 'temperature' is: %.2f
\n",temperature
To print source line 24 to the Journal window:
Expression Printf "%h",#24
To print the name of the current module to the Journal window:
Expression Printf "%s",@module
To print the disassembled instruction at address 2030h to the Journal window
as a string:
Chapter 9: Debugger Commands
Expression Printf
321

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1466

Table of Contents