HPlogo System Debug Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 4 System Debug Command Specifications

WHILE

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

While condition evaluates to TRUE, executes all commands in cmdlist.

Syntax

   WHILE condition DO cmdlist 

Parameters

condition

A logical expression to be evaluated.

cmdlist

A command list (or a single command) executed while condition evaluates to TRUE.

Examples

   $nmdebug > var n 7

   $nmdebug > while n > 0 do {wl n; var n n-1}

   7

   6

   5

   4

   3

   2

   1

A simple while loop example.

   $nmdebug > while [pc] >> $10 <> $2000 do ss

Single step until the next Pascal/XL statement number.

Limitations, Restrictions

none

CAUTION: The output format of all System Debug commands is subject to change without notice. Programs that are developed to postprocess System Debug output should not depend on the exact format (spacing, alignment, number of lines, uppercase or lowercase, or spelling) of any System Debug command output.
Feedback to webmaster