InitProtocol

Declaration: TMetaData.InitProtocol(Header: string; Params: TStrArray): integer;
Clears the data description and sets its initial text. The text consists of two parts: a headline which is defined by the parameter Header and one or several subtopics which are speficied by the open string array Params. The headline is automatically preceeded by the current date and time and must not be empty. The function returns the following error codes:
 0 .... everything OK
-1 ... the Header parameter is empty

Hint: In order to directly access the metadata of the currently loaded dataset you can use the pre-declared global variable MData.