04-29-2014 10:47 AM
Hi,
Is there any way to create 2D array explicitly, without the looping?
For example like C style:
myArr={{1,2,3},{4,5,6}}
I can create 1D arrays like that but when I create 2D the syntax error is thrown.
05-01-2014 10:50 AM
MimiKLM,
One way of doing this is to use the SetArrayBounds() function as described in this KnowledgeBase article. Another approach would be to use a code module to perform these operations.
Hope that helps!