Using EXPAND()
Posted: Fri Oct 01, 2010 8:14 am
I am unsuccessfully trying to use the EXPAND function to run dynamic code. A simplified version of the code is:
The returned error is 'Not enough arguments'
Hopefully somebody can help. I don't even know if what I am trying to do is possible
Code: Select all
strNewCube = 'NewCube';
strDimList = '''Dim1'', ''Dim2'', ''Dim3''';
CUBECREATE(strNewCube, EXPAND('%strDimList%'));
Hopefully somebody can help. I don't even know if what I am trying to do is possible