The global data String value provides a centralized reference point for WinGate components and services to check or use the value of a string (text).
String values can be used for:
String values can be created in several ways:
When using a WinGate scripting system (such as the Lua or Javascript event processors) or a configuration that has access to a Symbol browser, you can use the Data object published by the Data module to create, manage and use global data string values. The Data object provides the GetString(Text StringName) method which you can use to create a global data string.
e.g. A script could contain:
Data.GetString("teststring")
This would attempt to get the value of a global data string called teststring. If this string did not exist, a new string will be created automatically with the name teststring. Like other global data items, if the specified global data counter does not exist then it is created automatically.
After they are created, global data items are identified throughout WinGate by their type (e.g. a string, a Boolean, a list etc.), and the name you give them.
Global data items of the same type must each have a unique name. If you create a new global data item with the same name as an existing item of the same type, then the new item will replace the old one.
Like other global data items, strings can be referenced, modified, and deleted whenever you are:
Read about accessing global data items
©2012 Qbik New Zealand Limited
no comments yet...
You can use basic Full-Text Searches against the page title and body to find matching articles. Use the following search modifiers to refine your query:
You can create a new account or reset your password at forum.wingate.com.