Skip to main content
1-Visitor
February 11, 2011
Solved

Help! Why does this array not work?

  • February 11, 2011
  • 1 reply
  • 3660 views

Why does the first function of "X.bolt.w" not compute, but if I remove the end values of n.b.row.h*29, it works - as shown in the second function. It doesnt make any sense.

Best answer by AlanStevens

I'm surprised the second one worked!! You should probably use something like the syntax as shown in the attached - it's much simpler!

Alan

1 reply

1-Visitor
February 11, 2011

Firstly you can't define your programs loops like that. Look in the help menu for tips on this.

It also looks like you haven't defined x.s in your worksheet.

Mike

http://communities.ptc.com/servlet/JiveServlet/showImage/2-149416-2532/bar_anim.gif

1-Visitor
February 11, 2011

My bad, I took this out of a larger file. I updated and re-attached

Look at how the first definition of X.bolt.w does not work, but then the second definition works fine. All I did to the first is as another row at the end, exactly like the others.

19-Tanzanite
February 11, 2011

I'm surprised the second one worked!! You should probably use something like the syntax as shown in the attached - it's much simpler!

Alan