cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

old code, new worksheet

jpyland
3-Visitor

old code, new worksheet

About 10 years I wrote some code that used a couple of lists in a mathcad sheet.  I tried to cut and paste for my new task but it's all just gibberish to me now and my code doesn't work.  Can someone help me figure out how to do this.  The attached sheet has the code and hopefully my intent is clear enough to start with.

1 ACCEPTED SOLUTION

Accepted Solutions

The script in the list box component contained a couple of errors. Can't imagine that it ever could work OK.

The attached file should help

 

Main problem was that the branch statement with the output was not inside its subroutine "ListBoxEvent_Exec" which was completely missing.
And then there were some typos ("putputs(7)" instead of "outputs(7)").

View solution in original post

2 REPLIES 2

The script in the list box component contained a couple of errors. Can't imagine that it ever could work OK.

The attached file should help

 

Main problem was that the branch statement with the output was not inside its subroutine "ListBoxEvent_Exec" which was completely missing.
And then there were some typos ("putputs(7)" instead of "outputs(7)").

jpyland
3-Visitor
(To:jpyland)

Yes that works nicely. Thanks you.

Top Tags