VBS (MSGBOX). How to add multiple attribute numbers (eg 16)

I want to create a VBS script that has a window with multiple numeric attributes,
for example a message field with an icon of 16 and a value of 2 (Abort, Retry, Ignore)
In other words, I would like to combine the following two scripts into one.

    lol=msgbox("Body message",16,"Title")

      

from

    lol=msgbox("Body message",2,"Title")

      


How can I combine these two attributes?

+3


source to share


1 answer


You just add numbers together:



lol=msgbox("Body message",18,"Title")

      

+1


source







All Articles