Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 10/04/2021
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

3.1.20.8. get_message_count (::quartus::misc)

The following table displays information for the get_message_count Tcl command:

Tcl Package and Version

Belongs to ::quartus::misc

Syntax get_message_count [-h | -help] [-long_help] -type <info|extra_info|warning|critical_warning|error>
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-type <info|extra_info|warning|critical_warning|error> Type of message
Description

Get a count of messages of a specific message type. The message type can be "info", "warning", "critical_warning", or "error".

Example Usage
# Get count of error messages
get_message_count -type error

# Get count of warning messages
get_message_count -type warning

# Get count of critical warning messages
get_message_count -type critical_warning
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_ERROR 1 ERROR: Illegal message type: <string>. Specify info, warning, critical_warning, or error.
TCL_ERROR 1 ERROR: Missing required positional argument: <string>. Specify the <string> argument.
TCL_ERROR 1 ERROR: You specified <string> arguments to the -args option. However, you can pass a maximum of <string> arguments.

Did you find the information on this page useful?

Characters remaining:

Feedback Message