getSourceFile

getSourceFile

> Functions

Returns the absolute path of the file where this call to getSourceFile is written, in the form accepted by include and fileRead, for example /lib/move: in an included AI, it is the path of the included AI.

The path is set at compile time, so the call costs a single operation. Together with getSourceLine, it locates a debug message.

Return
Note