Chapter 14. Special Features

Misc features

14.1. Name and path of the sourcefile

You can get the filename and the path of the current sourcefile with the getPath() and getFilename() functions:

.print "Path : " + getPath()
.print "Filename : " + getFilename()