Random errors?

Random errors? - Messages

#1 Posted: 10/7/2013 4:08:51 AM
marcofk

marcofk

8 likes in 19 posts.

Group: User

Hello all, I've been battling for a couple of days with this calculation sheet. I've got three problems:

1) in the Util block, the function freq_list returns an error message (red box and
Quote

no_oct not defined

), even if I can still get the results that I want. (I can't get rid of the smiley, but it's "no _ oct" without the spaces)
2) in the Propagation Constant section I still get the red box, but if I check the results, they are there.
3) in the Impedance section, despite it being a copy and paste of the Propagation Constant section, I get a "Syntax Error" message.

Any suggestions?
Frommhold - Impedance.sm (48 KiB) downloaded 40 time(s).
#2 Posted: 10/7/2013 6:44:16 AM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: Moderator

Done

About the first issue:
- line() uses the last placeholder to output the result on the "layer above" (the canvas in this case); so don't use a single line but a two line line() and place in the last placeholder anything that is already defined (the last placeholder works like an eval, in some way)

About other issues there's a bug that involves the linear indexing and the assignments (I don't remember if was already reported here), so use the two-indices syntax to replace the Switch elements



regards,

Davide
Frommhold - Impedance (debug).sm (49 KiB) downloaded 34 time(s).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Posted: 10/7/2013 7:25:33 AM
marcofk

marcofk

8 likes in 19 posts.

Group: User

Can't get the thanks button to work on the forum, but: thanks very much!

P.S. I'm writing in English for the benefit of all Forum users, but I'm also Italian, albeit living abroad.
#4 Posted: 10/7/2013 9:06:56 AM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: Moderator

You're welcome

P.S. I think that Andrey can solve the thank issue, if you contact him via pm
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
  • New Posts New Posts
  • No New Posts No New Posts