[futurebasic] Re: [FB] #IF DEF _ArrayBoundsCheckingIsOn ??

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : April 2002 : Group Archive : Group : All Groups

From: Heather Donahue <hdonahue@...>
Date: Tue, 2 Apr 2002 18:04:45 -0800
At 7:44 PM -0600 on 4/2/02, Jay wrote:

>Is there a way for my program to tell at compile time whether Array
>Bounds Error Checking is on or off? I can't find anything in Constants or
>the Runtime code to indicate, nor any mention in the manual.

It's an undocumented CompileFlags constant _chkruntimeerr

LONG IF COMPILEFLAGS(_chkruntimeerr) = _false
PRINT "Array Bounds Error Checking is Off"
PRINT "Array Bounds Error Checking is On"

Heather Donahue
"To strive, to seek, to find, and not to yield."
	-- Lord Alfred Tennyson