Appendix: Built-in Scripting Language Syntax ClassMembersToStrVector( " strClassTag " , numStartPos , numNumPos , " strArrayTag ", optBooStartPosTarget ) strClassTag String value containing the Class tag name. numStartPos Start position (array index) of strClassTag. numNumPos Number of positions (array indexes) to be transferred from strClassTag. strArrayTag String value containing the array tag that will receive the values from strClassTag. optBooStartPosTarget Start position (array index) of strArrayTag. If omitted, the default value 1 is used. Returned value Notes If strClassTag has more than one member, the value of each member will be transferred to strArrayTag.
Therefore, it is importatnt to make sure that the array size of strArrayTag is big enough to receive all values from strClassTag. Examples NCopy Copies a defined section of a larger string. Syntax NCopy( strSource , numStartChar , numQtdChar ) strSource The source string. numStartChar numQtdChar Integer tag containing a number corresponding to the first character being copied.
InduSoft Web Studio Page 465 −6 Array size of strClassTag is not big enough for numStartPos −5 strClassTag is not a Class tag −4 strClassTag is not found −3 strArrayTag is not found −2 Invalid data type of the parameters −1 Invalid number of parameters 0 Transferred successfully Tag Name Expression Tag ClassMembersToStrVector( "Classtag", 5, 3, "Arraytag" ) Tag ClassMembersToStrVector( "Classtag", 5, 3, "Arraytag", 0 ) Tag ClassMembersToStrVector ( TagName, 0, 1, ArrayName ) Function Group Execution Windows Embedded Thin Client NCopy String Synchronous Supported Supported Supported