If IsArray(Inputs(0).value) = False Then Exit Sub
if (!Inputs[0].Value.length) return;
if Inputs is None:
return
x = objDataValue.Value( [row, col])
objDataValue.Value( [row, col] ) = x
var x = Inputs[0].Value[0][0]; //Accessing the 1st input, where the input is a matrix.
var y = Inputs[1].Value[0]; //Accessing the 2nd input, where the input is a vector.
var z = Inputs[2].Value; //Accessing the 3rd input, where the input is a variable.
x = Inputs(0).Value(0,0)
y = Inputs(1).Value(0)
z = Inputs(2).Value
x = Inputs[0]['Value'][0][0] // //Accessing the 1st input, where the input is a matrix.
y = Inputs[1]['Value'][0] //Accessing the 2nd input, where the input is a vector.
z = Inputs[2]['Value']/Accessing the 3rd input, where the input is a variable.
Outputs[0].Value = x;
Outputs(0).Value = x
Outputs[0].Value = x
|
元素
|
说明
|
|---|---|
|
x
|
此为数据的实数部分。
|
|
row
|
选定行的整数索引。
|
|
col
|
选定列的整数索引。
|
//When using JScript, set the variable to array '[]' before assigning values.
Outputs[0].Value = [];
//In JS ES3 you can only use array of arrays.
Outputs[0].Value[0]=[0,0,0];
Outputs[0].Value[1]=[0,0,0];
Outputs[0].Value[2]=[0,0,1];
Dim out(2,2) ‘Set the array size. Notice this will create 3x3 dimensional array in VBscript.
Outputs(0).value=out
Outputs(0).value(2,2) = 1
Outputs[0]['Value'] = [] # Initialize 'Value' as an empty list
Outputs[0]['Value'].append([0, 0, 0]) # Append the list [0, 0, 0] to 'Value'
Outputs[0]['Value'].append([1, 1, 1]) # Append the list [1 ,1, 1] to 'Value'
Outputs[0]['Value'].append([2, 2, 2]) # Append the list [2 ,2, 2] to 'Value'
x = Inputs[0].Rows;
x = Inputs[0].Cols;
x = Inputs(0).Rows
x = Inputs(0).Cols
x = Inputs[0]['Rows']
x = Inputs[0]['Cols']
|
元素
|
说明
|
|---|---|
|
x
|
整数列数或整数行数。
|