Sign in to follow this  
Followers 0
Dtvscrotes

msbox text with variable

4 posts in this topic

$age=Inputbox("age","how old r u")

msgbox(4096,"","u are" $age)

why doesnt this work.

can someone tell me how to do this. i dont want it to right " u are" in note pad i like msgbox better.

Share this post


Link to post
Share on other sites



Use & to join two variables or a variable and as string

$age=Inputbox("age","how old r u")

msgbox(4096,"","u are " &  $age)

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

msgbox(4096,"","u are"& $age)

=O dam

Edited by Generator

Share this post


Link to post
Share on other sites

K TY

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  
Followers 0