Parameters
Picture name
Picture name
3.2.3.7 Registry2
Function
This function manages a list of string pairs (String0, String1).
It knows the following types of calls controlled by the mode parameter:
● Registry2("set", "String0", "String1");
Includes the passed string pair into the list.
● Registry2("get", "String0", NULL);
Returns the first string pair partner String1 which belongs to the passed String0 and then
deletes the string pair from the list.
● Registry2("reset", NULL, NULL);
Deletes all string pairs from the list.
● Registry2("display", NULL, NULL);
Shows the string pairs currently stored in the list in a Global Script diagnostics window.
Syntax
char* Registry2(char* mode, char* String0, char* String1);
Parameters
mode
Defines the working principle of the function.
set Incorporation of the string pair into the list
get Determination of the first sting pair partner for String0 and deletion of the string
pair from the list
reset Deletion of all string pairs
display Display of the string pairs in a Global Script diagnostics window
String0
The parameter supply depends on the working principle of the function.
ANSI-C function descriptions
3.2 Standard functions
MDM - WinCC: Scripting (VBS, ANSI-C, VBA)
846
System Manual, 11/2008,