• 0

VBScript... More than 1 object in a string?


Question

i have multiple objects that i need to be in a string, i don't know much at all about vbscript but this is the type of thing i'm trying to achieve..

if computer = "comp1" AND "comp2" then

do something...

elseif computer = "comp3" AND "comp4" then

do something...

endif

is that the correct way i would do it, just simply using an AND?? i've looked round the net but couldn't find anything that helped.

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.