if then else v1.0 8253

if then else v1.0 8253 - how to use the if then else control statement. SMath Studio 1.0.8253 - Messages

#1 Posted: 8/25/2022 10:12:59 AM
Juan Manuel

Juan Manuel

0 likes in 14 posts.

Group: User

Dears,

I would like to ask you how the if then else control statement is used in SMath Studio version 1.0 8253.

When I insert the if statement, the else does not appear. How is it incorporated? I saw in videos that when placing the if statement both appear, the complete if x else x statement. In the version I use, only the if appears.

Another query, ¿in which plugin is the CAUSES() statement, which is an if then else version to generate functions by sections (piecewise function)?.

Thank you all

Cheers

Juan

2022-08-25_095238.png
#2 Posted: 8/25/2022 10:39:45 AM
sergio

sergio

115 likes in 329 posts.

Group: User

See here
sergio
1 users liked this post
Davide Carpi 8/25/2022 7:04:00 PM
#3 Posted: 8/25/2022 10:52:08 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

if/otherwise from the f(x) menu ... cases
if/else from the palette.
#4 Posted: 8/25/2022 11:02:55 AM
Juan Manuel

Juan Manuel

0 likes in 14 posts.

Group: User

Wrote

See here
sergio




Thanks Pompelmo!
#5 Posted: 8/25/2022 11:05:30 AM
Juan Manuel

Juan Manuel

0 likes in 14 posts.

Group: User

Wrote

if/otherwise from the f(x) menu ... cases
if/else from the palette.



Thanks Jean, will i need a plugin?



2022-08-25_110344.png
#6 Posted: 8/25/2022 1:13:17 PM
overlord

overlord

549 likes in 1332 posts.

Group: Moderator

Wrote

Thanks Jean, will i need a plugin?


He doesn't use latest version. In fact, he uses 6 year old version of smath (v0.99.6179).

The version he uses has not capability of "if, if/else". That has only "if/else". New function is intruduced with v1.0.8206.

He has no idea what is going on, just listen what Sergio said. And if you read he insist to use smath "unitless" or use "silent units", ignore anything he says after that. Just wait for a sane experienced user to reply.

cases() is a plugin function. It works similar to if/else. You need to install Custom Functions plugin.

Regards
1 users liked this post
João Felipe Seráfico Melo 8/25/2022 5:03:00 PM
#7 Posted: 8/25/2022 4:32:19 PM
Juan Manuel

Juan Manuel

0 likes in 14 posts.

Group: User

Wrote

Wrote

Thanks Jean, will i need a plugin?


He doesn't use latest version. In fact, he uses 6 year old version of smath (v0.99.6179).

The version he uses has not capability of "if, if/else". That has only "if/else". New function is intruduced with v1.0.8206.

He has no idea what is going on, just listen what Sergio said. And if you read he insist to use smath "unitless" or use "silent units", ignore anything he says after that. Just wait for a sane experienced user to reply.

cases() is a plugin function. It works similar to if/else. You need to install Custom Functions plugin.

Regards




Thanks Overlord
  • New Posts New Posts
  • No New Posts No New Posts