Contributed By: Marcus Tettmar [email protected]
Submitted On: 07/08/03
To reference VBScript variables and arrays simply use the VBEval function:
VBEval>VBScriptVariable,MacroScriptVariable
This puts the value of the specified VBScript variable into a local
MacroScript variable.  The VBScript Variable must exist in a previously
declared VBScript block.
The following example returns the value in a two dimensional array:
VBEval>MyArray(1,2),MyField
For a real-life example see Import data from CSV file into
multidimensional array
Referencing VBScript arrays from MacroScript
Moderators: Dorian (MJT support), JRL, Phil Pendlebury
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact: