What is the correct VBA syntex for the following array (which is from some Matlab code)....
L3_terms =[289.0 5.844 6283.076
35 0 0
17 5.49 12566.15
3 5.2 155.42
1 4.72 3.52
1 5.3 18849.23
1 5.97 242.73];
This doesn't seem to work...
Dim L3_terms()
ReDim L3_terms(7,3)
L3_terms = {{289.0, 5.844, 6283.076}, {35, 0, 0}, {17, 5.49, 12566.15}, {3, 5.2, 155.42}, {1, 4.72, 3.52}, {1, 5.3, 18849.23}, {1 5.97 242.73}}
Also, is there a continuation line that can also be used to help so the code reads better?
L3_terms =[289.0 5.844 6283.076
35 0 0
17 5.49 12566.15
3 5.2 155.42
1 4.72 3.52
1 5.3 18849.23
1 5.97 242.73];
This doesn't seem to work...
Dim L3_terms()
ReDim L3_terms(7,3)
L3_terms = {{289.0, 5.844, 6283.076}, {35, 0, 0}, {17, 5.49, 12566.15}, {3, 5.2, 155.42}, {1, 4.72, 3.52}, {1, 5.3, 18849.23}, {1 5.97 242.73}}
Also, is there a continuation line that can also be used to help so the code reads better?