Jump to content

if elseif statement


vk01

Recommended Posts

hi,

 

I have a variable which should be equal to one value at a given time: like

if val1 != null

var = val1

elseif val2 != null

var = val2

elseif val3 != null

var = val3

else var = " "

end if

 

I know at a given time there will be only one value otherwise a null value.

 

How would we go about doing this?

 

thanks.

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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

×
×
  • Create New...