auto_ReadNCTextΒΆ
auto_ReadNCText reads an attribute from the most recently imported data file.
-
ssText = auto_ReadNCText(ssVariable, ssAttribute)
Return Value
ssText is a string containing the value of the attribute. Numbers will be converted to a string.
Parameters
-
ssVariable
ssVariable is the name of a variable. To read a global attribute, the key word GLOBAL can be specified as the name.
-
ssAttribute
ssAttribute is the name of an attribute.
Comment
ssVariable and ssAttribute are case sensitive.
Example
auto_ImportData(GetRootDirectory() + "samples/vollast.asc");
ssFile = auto_ReadNCText("GLOBAL", "Origin");
auto_ReplaceText("$Data", ssFile);
See also
id-359204