I use arrays for everything but one of my most fears is to miss some control and get out of the bounds of the array and abort the program with the error #8.
Is there any chance to define one parameter like DIVIDE'BY'0 (error #10) to avoid this (valid for (0) element of the array too).
This situation becomes more complicated when i include in an IF condition one array, such as:
IF (EOF(1) AND array(element)) THEN....
First i must test if "element" is behind the limits of the array to check if i can process the IF statement.

This is valid too, for SPACE() function where, if the value is negative will result in error (ex: space(-3)).

Thanks.


Jorge Tavares

UmZero - SoftwareHouse
Brasil/Portugal