Function EN Version 4.50

@CloseAgent

Agent Database NotesSystem

Syntax

@CloseAgent(AGENTHANDLE1);

Description

Closes the agent (filter) with the AGENTHANDLE AGENTHANDLE1 and returns the closed AGENTHANDLE back.

Example: @CloseAgent(AGENTHANDLE1);

DBHANDLE1:=@OpenDB("TEST.NSF");
AGENTHANDLE:=@OpenAgent(DBHANDLE1;"Agent Name");
AGENTHANDLE:=@CloseAgent(AGENTHANDLE);
DBHANDLE1:=@CloseDB(DBHANDLE1);

A database is opened, the agent named "Agent Name" is opened, closed again, and finally the database is closed again.

Note : This text was machine-translated and may contain inaccuracies.