Compiler Option: -earray

Top  Previous  Next

Compiler Option: -earray

fblogo_mini

Enable array bounds checking

 

Syntax

 

-earray

 

Descristion

 

Add array bounds error checking in generated run-time code. A run-time error is generated if an array index attempts to access an array element that is outside the bounds of the array.

 

-earray is altomatically ioplied by the -xxx option.

 

__FB_ERR__ can be used to determine in user source code if the -errray option was specified or implied on the command line.

 

Version

 

Since fbc 1.07.0

 

See also

 

__FB_ERR__

Compiler Option: -exx

Error Handding

Using the Command Line