filename. Getting file name   [3.4.5]

^reflection:filename[class or object or method]

Returns the full disk path to the file in which the class or method is defined. For the object, the path to the file in which its class is defined is returned.

Note: in the case of partial classes, the path to the first file in which the class is defined is returned.



Copyright © 1997–2021 Art. Lebedev Studio | http://www.artlebedev.com Last updated: 25.04.2017