PDA

View Full Version : messageBox variable


Opifex
04-05-2012, 04:17 AM
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 ?

lo
04-05-2012, 06:40 AM
saythis = selection.count as string
messagebox saythis

Opifex
04-05-2012, 03:00 PM
saythis = selection.count as string
messagebox saythis

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")

CGTalk Moderation
04-05-2012, 03:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.