This example retrieves the base name of file "irvine.pix".
If there is no base name, an empty string is returned; otherwise, the base name is returned.
local string base
base = GetFileBasename( GetPCIHOME() + "/demo/irvine.pix" )
print base
irvine
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.