ibec_GetRunDir

The ibec_GetRunDir function returns the path of the currently executing program (IBExpert.exe or IBEScript.exe).

Syntax

 function ibec_GetRunDir : string;

Example

execute IBEBlock
returns (CurrDir varchar(100))
as
begin
  CurrDir = ibec_GetCurrentDir();
  suspend;
end