daves Posted July 12, 2011 Share Posted July 12, 2011 A quick question concerning something new I was taught off topic from another post. I like the concept of initialising global variables in my pmh file: global ThisIsOK = 100; global ThisIsImpossible(6) = (2,4,6,8,10,12); global ThisWorks(6); ThisWorks(0)=5; The first line is good. I cannot guess the syntax to make the second line work (does it exist? could it be included next release?) The last two lines will do the kind of thing I want but give me red squiggly line language service errors. Link to comment Share on other sites More sharing options...
Sina.Sattari Posted July 12, 2011 Share Posted July 12, 2011 Daves, The array definition is Power PMAC Script language is actually a function call and for this reason the second line of code is not acceptable and will not be supported. The second approach that you have taken is correct. first you define the array structure, and then you can access each member independently. Regards, Link to comment Share on other sites More sharing options...
Recommended Posts