Sign in to follow this  
Followers 0
AntiVirusGuy

multiple if statements

3 posts in this topic

if $button2 = (80) & $button3 = (80) & $button4 = (80) & $button5 = (80) & $button6 = (80) Then

I have tried ot with and with out quotes how do I specify multiple if statements

Share this post


Link to post
Share on other sites



if $button2 = (80) & $button3 = (80) & $button4 = (80) & $button5 = (80) & $button6 = (80) Then

I have tried ot with and with out quotes how do I specify multiple if statements

the answer would actually be

if $button2 = (80) And $button3 = (80) And $button4 = (80) And $button5 = (80) And $button6 = (80) Then

however, i think i answered your TRUE question in your other post

8)

nice try... really


NEWHeader1.png

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

you can also use:

if $button2 = (80) then
if $button3 = (80) then
if $button4 = (80) Then
if $button5 = (80) Then
if $button6 = (80) Then
<code here>
endif
endif
endif
endif
endif

this is more of a longer version.

Edited by NegativeNrG

[size=20]My File Upload[/size]Register at my site and upload.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0