Rank: Newbie
Groups: Registered
Joined: 17/03/2019(UTC) Posts: 3
|
Hello I'm new in Smath I want to do "if δ>0 then k=a+b else k=c+d" But impossible to include the equation k:=a+b in the "if statement" When I type "equal" after "k", the "equal" sign is put on the fist line and answer "k-not defined" I found an exemple on the forum but I'm not able to reproduce it by myself My test file is attached Thank you for your help test if statement.sm (6kb) downloaded 17 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/12/2011(UTC) Posts: 319 Location: italy Was thanked: 109 time(s) in 93 post(s)
|
you have to type ":" (colon) and not "=" (equal) sergio Edited by moderator 29 March 2019 17:18:56(UTC)
| Reason: marked as solved
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: jbv Thank you for your help
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 17/03/2019(UTC) Posts: 3
|
|
|
|
|
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.