Try OpenEdge Now
ABL Reference
Handle Attributes and Methods Reference
:
GET-FILE-OFFSET( ) method
GET-FILE-OFFSET( ) method
Returns the character offset at which the
n
th error occurred in the associated source file during the preceding ABL source code compilation.
Return type:
INTEGER
Applies to:
COMPILER system handle
Syntax
GET-FILE-OFFSET (
n
)
n
An integer expression, from 1 to the value of the
NUM-MESSAGES attribute
, that specifies the numeric occurrence of a compilation error.
If the
n
th occurrence of a compilation error did not occur, this method returns the Unknown value (
?
).