Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : GET-FILE-NAME( ) method
 

GET-FILE-NAME( ) method

Returns the name of the source file associated with the nth error that occurred in the preceding ABL source code compilation.
Return type: CHARACTER
Applies to: COMPILER system handle

Syntax

GET-FILE-NAME ( 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 nth occurrence of a compilation error did not occur, this method returns the Unknown value (?).