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 PTC Community Badges. Engage with PTC and see how many you can earn! X

old code, new worksheet

jpyland
3-Newcomer

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.

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:jpyland)

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
Werner_E
25-Diamond I
(To:jpyland)

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-Newcomer
(To:jpyland)

Yes that works nicely. Thanks you.

Announcements

Top Tags