Jump to content
Sign in to follow this  
primus

msg box question

Recommended Posts

got another dumb question

msgbox("title", "stuff here with $variable but variables don't display")

whats the syntax for that so it gives the value of $variable?

tyty

Share this post


Link to post
Share on other sites

Expanding variables in strings is an alternative method that can be used when needed.

Opt('ExpandVarStrings', 1)

$variable = "VARIABLE"
MsgBox(0, "title", "stuff here with $variable$ but variables don't display")

:lmao:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...