sevReadValue
sevReadValue(x_stateHandle t_componentName t_attributeName) =>t_componentValue/nil
Description
Reads the value of an XML component from the specified XML state file.
Arguments
Value Returned
Examples
Reads the values of a component test. A combination of write and read commands are used in this example.
directory = "/home/user"
stateFile = strcat(directory "/xml.state")
// The above commands return the handle of the XML state file.
stateHandle = sevOpenXmlFile(stateFile)
// The above commands opens the XML state file handle.
sevWriteValue(stateHandle "test" "a" list(nil))
sevWriteValue(stateHandle "test" "b" list('a))
// The above commands write the argument valuesaandbfor componenttest.
sevReadValue(stateHandle "test" "b")
// The above command reads the value for argumentbof componenttest. sevCloseXmlFile(stateHandle)
// The above command closes the XML state file handle.
Return to top