Notifications
Clear all

[Closed] messageBox variable

How do we have a message box that will say a varible?

Ex:
saythis = selection.count
messagebox “saythis”

But instead of the messagebox saying “saythis” it actually will say the integer of selection.count ?

2 Replies
 lo1

saythis = selection.count as string
messagebox saythis

1 Reply
(@opifex)
Joined: 1 year ago

Posts: 0

Thanks! Now how can I go about mixing that with something else within the same messagebox

Ex:
saythis = selection.count as string
saythat = “Object(s) are Selected”
messageBox saythis and saythat

Edit:
Nevermind I found out how Thanks again!

for those looking for this it’s

saythis = selection.count as string
messageBox ((saythis as string) + ” Object(s) are Selected”)