I have a problem with one element array in VBScript component.
VB decide that it`s TypeName is Double and VarType is 5 instead of Variant 8204 and CStr() gives "-1.#QNAN".
So, I can`t get a value of my array.
MC15 file is attached.
If I remove the parenthesis around your Input definition (leaving only an array of arrays) the behavior changes. Every second click gives Output = Input, but if you change a value in Input, the first click doesn't work too well. (I'm not a VBscript guy, so you're on your own. . .
You've created a mess:
So Mathcad hand VBscript an array with a single element with three subelements each with three subelements. . .
No wonder it's confused.
How about what's attached?
That parenthesis was created using
instead of creating an array
Why array of array of array?
Look at the output of createmesh function for example.
I use 3D view SCRIPTABLE component and want that it works like nonscriptable scatterplot.
I need scriptable version because I need tilt, twist and rotation angles of 3D view to align annotations flat to the screen.
Scatterplot takes any arrays but my scriptable 3D view doesn't yet.
I know VBScript good enough to get values from arrays but not in this case.
I attached one more file with other situations where I can't get output equal to the input.
does anybody have some JScript components? Please shear.
I`m not familiar with JScript, so, I need help and a push button as a start point.