Variable inside a string

Variable inside a string - Messages

#1 Posted: 10/29/2019 10:40:24 AM
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: 10/29/2019 11:22:29 AM
sergio

sergio

115 likes in 329 posts.

Group: User

yes

SMathStudio_Desktop_yAD2Rr4djH.png
sergio
#3 Posted: 10/30/2019 4:50:20 AM
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: 10/30/2019 5:50:51 AM
sergio

sergio

115 likes in 329 posts.

Group: User

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

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