SMath Studio Forum
»
SMath Studio
»
Questions
»
Why we have an error in this SM-sheet
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 06/04/2023(UTC) Posts: 338 Was thanked: 26 time(s) in 25 post(s)
|
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 26/07/2022(UTC) Posts: 35 Location: UK Was thanked: 22 time(s) in 19 post(s)
|
t is undefined. And why do you have [SO₄‾‾].исх as an argument twice?
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,356 Was thanked: 815 time(s) in 516 post(s)
|
Hi. For starting, the vertical bars in the while condition are not for absolute value, but for determinant.
Best regards. Alvaro.
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 06/04/2023(UTC) Posts: 338 Was thanked: 26 time(s) in 25 post(s)
|
Originally Posted by: Razonar Hi. For starting, the vertical bars in the while condition are not for absolute value, but for determinant.
Best regards. Alvaro. Thanks, Alvaro! I have corrected but new error message Predochistka.sm (60kb) downloaded 4 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,356 Was thanked: 815 time(s) in 516 post(s)
|
Hi Valery. I guess that it has some minor issues about units and with variable redefinitions inside of the body of procedures. Predochistka.sm (66kb) downloaded 3 time(s).Best regards. Alvaro.
|
1 user thanked Razonar for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 06/04/2023(UTC) Posts: 338 Was thanked: 26 time(s) in 25 post(s)
|
Originally Posted by: Razonar Hi Valery. I guess that it has some minor issues about units and with variable redefinitions inside of the body of procedures. Predochistka.sm (66kb) downloaded 3 time(s).Best regards. Alvaro. I call the function one more and get an error. Why? Predochistka-Err.sm (63kb) downloaded 2 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,356 Was thanked: 815 time(s) in 516 post(s)
|
You redefine some function arguments inside the function body. That change its values globally: See the green area in the document. Also, as an example: Best regards.
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 06/04/2023(UTC) Posts: 338 Was thanked: 26 time(s) in 25 post(s)
|
Originally Posted by: Razonar You redefine some function arguments inside the function body. That change its values globally: See the green area in the document. Also, as an example: Best regards. Prime
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 06/04/2023(UTC) Posts: 338 Was thanked: 26 time(s) in 25 post(s)
|
It will be good to have
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Questions
»
Why we have an error in this SM-sheet
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.