1 страниц (4 вхождений)
Random errors? - Сообщения
#1 Опубликовано: 07.10.2013 04:08:51
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
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 КиБ) скачан 40 раз(а).
1) in the Util block, the function freq_list returns an error message (red box and
), 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)Цитатаno_oct not defined
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 КиБ) скачан 40 раз(а).
#2 Опубликовано: 07.10.2013 06:44:16
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 КиБ) скачан 34 раз(а).

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 КиБ) скачан 34 раз(а).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Опубликовано: 07.10.2013 07:25:33
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.
P.S. I'm writing in English for the benefit of all Forum users, but I'm also Italian, albeit living abroad.
#4 Опубликовано: 07.10.2013 09:06:56
You're welcome 
P.S. I think that Andrey can solve the thank issue, if you contact him via pm

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
1 страниц (4 вхождений)
-
Новые сообщения
-
Нет новых сообщений