Variable inside a string

Variable inside a string - Messages

#1 Posted: 2019/10/29 10:40:24
Janusz

Janusz

0 likes in 6 posts.

Group: 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 Posted: 2019/10/29 11:22:29
sergio

sergio

116 likes in 332 posts.

Group: User

yes

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

Peter J Francis

0 likes in 18 posts.

Group: 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 Posted: 2019/10/30 05:50:51
sergio

sergio

116 likes in 332 posts.

Group: User

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

sergio
1 users liked this post
Peter J Francis 2019/10/30 08:50:00
  • New Posts
  • No New Posts