ApplicationPath returns the folder path that the Statelake application is running from.

By default this would be C:\Program Files\Flow Software\Statelake\.

Declaration: Function ApplicationPath: string

The example below shows a typical response. 

procedure OnMapEvent(var Value:Variant);
var theDetail : string;
begin
LogInfo('');
LogInfo('What follows is the APPLICATION PATH');
theDetail := ApplicationPath;
LogInfo(theDetail);
LogInfo('');
end;

The result that posts to the Log is below.

image-20240115-005803.png