1 страниц (7 вхождений)
return - Needed in Smath - Сообщения
#1 Опубликовано: 30.04.2023 15:39:45
Simple in Mathcad with the return operator.
Will be good to have it in SMath - see the attach

NaCl-w-T.sm (14 КиБ) скачан 19 раз(а).
Will be good to have it in SMath - see the attach
NaCl-w-T.sm (14 КиБ) скачан 19 раз(а).
#2 Опубликовано: 30.04.2023 15:46:55
#3 Опубликовано: 30.04.2023 15:53:38
#4 Опубликовано: 30.04.2023 15:57:02
#5 Опубликовано: 30.04.2023 16:08:14
#6 Опубликовано: 01.05.2023 10:47:14
#7 Опубликовано: 01.05.2023 11:41:44
Greetings,
Unstructured exits are best avoided when possible; there is merit in preventing unstructured exits.
On that note, you may want to create your variable at the top of your function, assign it the value as desired, and 'return' it as the last line of your functions as such ('break' can be used to terminate a loop, which can be used to optimize runtime in lieu of a return).
May this be of Good Help,
- SK Kenny Lemens, P.E. ᵂᴵ
Unstructured exits are best avoided when possible; there is merit in preventing unstructured exits.
On that note, you may want to create your variable at the top of your function, assign it the value as desired, and 'return' it as the last line of your functions as such ('break' can be used to terminate a loop, which can be used to optimize runtime in lieu of a return).
May this be of Good Help,
- SK Kenny Lemens, P.E. ᵂᴵ
"No matter where you go, there you are." -Buckaroo BanzaiHotkeys: https://en.smath.com/forum/resource.ashx?a=45771&b=2
1 страниц (7 вхождений)
-
Новые сообщения
-
Нет новых сообщений