### maxerrorcount

Limits the number of errors emitted while compiling a single file.

##### Syntax

#pragma maxerrorcount( <num> | off )

##### Parameters

num

> Specifies the maximum number of error messages issued per source file.

off

> Effectively unbounds the number of issued error messages.

##### Targets

All platforms.

##### Remarks

The total number of error messages emitted may include one final message "Too many errors emitted."

This pragma does not correspond to any panel setting. By default, this pragma is off.