Variable inside a string

Variable inside a string - 消息

#1 已发布: 2019/10/29 10:40:24
Janusz

Janusz

0个赞,共6个帖子。

组: User

Hi everyone,
I cannot find information then I want to ask. Can I put a result of a variable inside a string? I mean (pseudocode):

x := a + b = 123

String: y := "the value of x equals" + x + "."

Janusz
#2 已发布: 2019/10/29 11:22:29
sergio

sergio

127个赞,共342个帖子。

组: User

yes

SMathStudio_Desktop_yAD2Rr4djH.png
sergio
#3 已发布: 2019/10/30 04:50:20
Peter J Francis

Peter J Francis

0个赞,共18个帖子。

组: User

Hi Sergio,
I've tried your suggestion but I can't seem to find var2str, is it part of a plugin ?

Thanks
Peter J Francis Twitter: @PeterJFrancis Thermal Engineer , Maker , Pilot
#4 已发布: 2019/10/30 05:50:51
sergio

sergio

127个赞,共342个帖子。

组: User

You're right, I forgot to specify it. Plugins "Custom Functions"

sergio
1位用户喜欢此帖子
Peter J Francis 2019/10/30 08:50:00
  • 有新帖
  • 无新帖