Rank: Member Groups: Registered
Joined: 26/10/2010(UTC) Posts: 24 Location: England Was thanked: 1 time(s) in 1 post(s)
|
Hiyah, How do I do if without else, like this (Mathcad): And how do I insert images into posts on this forum without using photobucket or the likes? Regards Konrad
|
|
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
Hello Konrad, Here it is: The "if" is actually performed as the function with three parameters - if(3). There is no "if" without "else" in SMath. I do not know if Andrey could introduce if(2) - function with two parameters, the "if" without "else". This was mentioned few times by some users. About inserting pictures in the post, just look at the Notes on Using the Forum please. There you will find the explanation on how to upload the pictures by using SMath Wiki File Management and put their links in the posts of the Forum. Regards, Radovan |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
Rank: Member Groups: Registered
Joined: 26/10/2010(UTC) Posts: 24 Location: England Was thanked: 1 time(s) in 1 post(s)
|
Thanks Radovan. That's a pitty, let's hope a two-argument if will come one day :-) Konrad
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 09/03/2013(UTC) Posts: 4 Location: Prague
|
Hello, yes, that's something, which could make user functions easier to understand and to look better. +1 on this Thank you for considering it, Fanda
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 14/03/2013(UTC) Posts: 4 Location: Cluj Napoca
|
any way i can print a message in a for loop? i have 3 cases that change 2 variables, but it would be useful to know in which case i'm in thanks in advance Edited by user 14 March 2013 15:25:38(UTC)
| Reason: Not specified dan attached the following image(s):
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,654 Location: Italy Was thanked: 1340 time(s) in 879 post(s)
|
Something like this? regards, w3b5urf3r File Attachment(s): Davide Carpi attached the following image(s): |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Newbie
Groups: Registered
Joined: 14/03/2013(UTC) Posts: 4 Location: Cluj Napoca
|
yes that did it, thank you
|
|
|
|
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.