Retrieves the agent name. The agent name is the name of the computer where the simulation for the current user has been started.
Kernel.bdh
GetAgent(): string;
The name of the agent.
dcltrans transaction TGetAgent var sAgent: string; begin sAgent := GetAgent(); write("agent = "); write(sAgent); writeln; end TGetAgent;
agent = LocalHost