MAINSAIL Language Manual, Section 48.8

previous   next   top   contents   index   framed top   this page unframed


48.8. $thisFileName

The compiletime STRING pseudoprocedure $thisFileName returns the name of the current source file, i.e., of the file containing the call to $thisFileName. This can be especially useful to specify the location of a FORWARD PROCEDURE:

FORWARD($thisFileNamePROCEDURE ...

since this use of the FORWARD directive works even if the source file containing it is renamed.


previous   next   top   contents   index   framed top   this page unframed

MAINSAIL Language Manual, Section 48.8