Navigation: DocScript Reference > DocScript Functions >

Array Functions

 

 

 

 

Function

Description

[DocuNECT.SetVar](varname, varvalue, indexno)

Sets the array element variable with the name of varname, at the position of indexno, to the value of varvalue.
 

Support multi-dimensional arrays:
 

[DocuNECT.SetVar](varname, varvalue, indexnoA,indexnoB,….indexnoZ)

 

Parameter(s)

varname - The name of the variable.

varvalue - The value to set the variable to.

indexno - This allows a specific array value to be set.

[DocuNECT.SetVar](varname, varvalue)

Sets the variable with the name of varname, to the value of varvalue.

 

Parameter(s)

varname - The name of the variable.

varvalue - The value to set the variable to.

[DocuNECT.GetVar](varname)

Returns the variable named varname.

 

Parameter(s)

varname - The name of the variable.

[DocuNECT.GetVar](varname, indexno)

Returns the array element variable named varname, at the position of indexno.

 

Parameter(s)

varname - The name of the variable.

indexno - This allows a specific array value to be retrieved.

 

 

 

 

Copyright © 2024 Portford Solutions Group, Inc.