Sign in to follow this  
Followers 0
the_lord_mephy

If..&..Then

6 posts in this topic

Is there a way to do something like if two things return true

such as If <statement> && <statement> Then

<statement>

EndIf

Also, is there a way to do if something does not equal something els like

If blah != blah Then

Blah

EndIf


My site for HTML Help :)[quote name='Valik' date='Oct 15 2004, 12:29 PM']Maybe nobody is an "elite uber-coder" like me because thinking is a capital offense in today's online-world?[right][snapback]36427[/snapback][/right][/quote]

Share this post


Link to post
Share on other sites



If $a=$b AND $a=$c Then

;First request

EndIf

IF NOT $a = $b

;Second one

EndIf

If $a <> $b

;Second one other way.

EndIf

RTFM

Share this post


Link to post
Share on other sites

thankyou a lot


My site for HTML Help :)[quote name='Valik' date='Oct 15 2004, 12:29 PM']Maybe nobody is an "elite uber-coder" like me because thinking is a capital offense in today's online-world?[right][snapback]36427[/snapback][/right][/quote]

Share this post


Link to post
Share on other sites

wait is there a way to combine, can you do

If $a = $b AND NOT $c = $d


My site for HTML Help :)[quote name='Valik' date='Oct 15 2004, 12:29 PM']Maybe nobody is an "elite uber-coder" like me because thinking is a capital offense in today's online-world?[right][snapback]36427[/snapback][/right][/quote]

Share this post


Link to post
Share on other sites

wait is there a way to combine, can you do

If $a = $b AND NOT $c = $d

<{POST_SNAPBACK}>

absolutely

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