Jump to content

include a variable in a message box body ?


Go to solution Solved by FireFox,

Recommended Posts

  • Solution

Hi,

The variables are not interpreted like in PHP whenever they are in a string.

 

You need to put it out like this :

$var = Guictrlread(2)

msgbox(0,"msg", "your pc will restart after " & $var)
Next time, please take a look at the helpfile, there are tons of examples.

 

Br, FireFox.

Edited by FireFox
Link to comment
Share on other sites

Hi,

The variables are not interpreted like in PHP whenever there are in a string.

 

You need to put it out like this :

$var = Guictrlread(2)

msgbox(0,"msg", "your pc will restart after " & $var)
Next time, please take a look at the helpfile, there are tons of examples.

 

Br, FireFox.

 

 

i had looked at the help doc but i couldn't find that tip

thank you bro you are awesome ...

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...