Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline OchkovVF  
#1 Posted : 13 December 2023 03:45:18(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 338
Man
Russian Federation

Was thanked: 26 time(s) in 25 post(s)
Predochistka.sm (55kb) downloaded 10 time(s).

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline StvMath  
#2 Posted : 13 December 2023 04:47:04(UTC)
StvMath


Rank: Advanced Member

Groups: Registered
Joined: 26/07/2022(UTC)
Posts: 35
United Kingdom
Location: UK

Was thanked: 22 time(s) in 19 post(s)
t is undefined. And why do you have [SO₄‾‾].исх as an argument twice?
Offline Razonar  
#3 Posted : 13 December 2023 06:21:50(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

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.
Offline OchkovVF  
#4 Posted : 14 December 2023 08:10:49(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 338
Man
Russian Federation

Was thanked: 26 time(s) in 25 post(s)
Originally Posted by: Razonar Go to Quoted Post
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).
Offline Razonar  
#5 Posted : 14 December 2023 15:55:40(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

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.
thanks 1 user thanked Razonar for this useful post.
on 14/12/2023(UTC)
Offline OchkovVF  
#6 Posted : 14 December 2023 22:10:57(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 338
Man
Russian Federation

Was thanked: 26 time(s) in 25 post(s)
Originally Posted by: Razonar Go to Quoted Post
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.png
Predochistka-Err.sm (63kb) downloaded 2 time(s).
Offline Razonar  
#7 Posted : 15 December 2023 00:47:46(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
You redefine some function arguments inside the function body. That change its values globally:

err.png

See the green area in the document. Also, as an example:

err2.png

Best regards.
Offline OchkovVF  
#8 Posted : 15 December 2023 06:12:53(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 338
Man
Russian Federation

Was thanked: 26 time(s) in 25 post(s)
Originally Posted by: Razonar Go to Quoted Post
You redefine some function arguments inside the function body. That change its values globally:

err.png

See the green area in the document. Also, as an example:

err2.png

Best regards.

Prime
ans.png

Offline OchkovVF  
#9 Posted : 15 December 2023 08:50:01(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 338
Man
Russian Federation

Was thanked: 26 time(s) in 25 post(s)
It will be good to have
LV.png

Users browsing this topic
Guest
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.