1 Introduction
2 Interface
3 Scanner
4 Parser
5 Analyser
6 Tangle
7 Weave
8 Shell
9 Commands
10 Glossary
11 References

FunnelWeb Reference Manual

9.20 Status

The status command takes two forms. In its first form in which no arguments are given, it writes out the number of warnings, errors and severe errors that 1) were generated by the previous command and 2) have been generated during the entire shell invocation. In its second form it takes from one to three arguments each of which specifies a diagnostic severity and a number. The status command compares each of these numbers with the number of that diagnostic generated by the previous command and generates a severe error if they differ.

Syntax  : status = "status" {s ("w"|"e"|"s") num}0..3
Examples: status
          status w1 e5 s1
          status w4
          status s1 e2

The status command was introduced to test the status results of commands during their debugging. It is also useful for checking to see that the right number of diagnostics have been generated at particular points in test scripts.

Prev Up Next

Webmaster    Copyright © Ross N. Williams 1992,1999. All rights reserved.