hexagon logo

Is there a way to access a PC-DMIS array variable from PC-DMIS Basic?

Is there a way to access a PC-DMIS array variable from PC-DMIS Basic? The Help for GetVariableValue() doesn't mention arrays and indices.
Parents
  • Is that helps ? (from PCDBASIC 3.6)

    Variable.GetArrayUpperBound
    Syntax
    Return Value=expression.GetArrayUpperBound
    Return Value: This returns the upper bound if the variable is an array. Otherwise it
    returns zero.
    expression: required expression for object type Variable.


    Variable.GetArrayLowerBound
    Syntax
    Return Value=expression.GetArrayLowerBound
    Return Value: This returns the lower bound if the variable is an array. Otherwise it
    returns zero.
    expression: required expression for object type Variable.

    Variable.GetArrayIndexValue
    Syntax
    Return Value=expression.GetArrayIndexValue
    Return Value: This returns the array variable at the specified index position.
    expression: required expression for object type Variable.

    Variable.SetArrayIndexValue
    Syntax
    Return Value=expression.SetArrayIndexValue (Index, Variable)
    Return Value: This sets the array variable at the specified index position. Type
    Boolean.
    expression: required expression for object type Variable.
    Index: Long value specifying the index
Reply
  • Is that helps ? (from PCDBASIC 3.6)

    Variable.GetArrayUpperBound
    Syntax
    Return Value=expression.GetArrayUpperBound
    Return Value: This returns the upper bound if the variable is an array. Otherwise it
    returns zero.
    expression: required expression for object type Variable.


    Variable.GetArrayLowerBound
    Syntax
    Return Value=expression.GetArrayLowerBound
    Return Value: This returns the lower bound if the variable is an array. Otherwise it
    returns zero.
    expression: required expression for object type Variable.

    Variable.GetArrayIndexValue
    Syntax
    Return Value=expression.GetArrayIndexValue
    Return Value: This returns the array variable at the specified index position.
    expression: required expression for object type Variable.

    Variable.SetArrayIndexValue
    Syntax
    Return Value=expression.SetArrayIndexValue (Index, Variable)
    Return Value: This sets the array variable at the specified index position. Type
    Boolean.
    expression: required expression for object type Variable.
    Index: Long value specifying the index
Children
No Data