Random errors?

Random errors? - Mensajes

#1 Publicado: 7/10/2013 4:08:51
marcofk

marcofk

8 me gusta en 19 mensajes.

Grupo: 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
Citar

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,66 KiB) descargado 1337 vez(es).
#2 Publicado: 7/10/2013 6:44:16
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: 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,77 KiB) descargado 1349 vez(es).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Publicado: 7/10/2013 7:25:33
marcofk

marcofk

8 me gusta en 19 mensajes.

Grupo: 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 Publicado: 7/10/2013 9:06:56
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: 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
  • Nuevos mensajes
  • Sin mensajes nuevos