Sign in Join
FPDoc Onlineexperiment

ApplicationName function

In unit sysutils

Return a default application name.

Declaration

pascal
function ApplicationName: string

Description

ApplicationName returns the name of the current application. Standard this is equal to the filename part minus extension of ParamStr(0), but it can be customized by setting the OnGetApplicationName callback.

Note that the returned value is only the name portion. It does not contain any path or file extension.

Errors

None.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.