Login or Sign Up
Logging in...
Remember me
Log in
Forgot password or user name?
or
Sign Up
Log in with
Search in titles only
Search in JavaScript programming only
Search
Advanced Search
Forum
Groups
Today’s Posts
Calendar
Forum
Client side development
JavaScript programming
Announcement
Collapse
No announcement yet.
if statements
Collapse
X
Collapse
Posts
Latest Activity
Photos
Search
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
cwl157
New to the CF scene
Join Date:
Jun 2003
Posts:
93
Share
Tweet
#1
if statements
Feb 15, 2004, 07:03 PM
How do you say less than or equal to in an if statement. I know:
if(x==0) says if x equals zero but how do you write x is equal to or less than zero.
Garadon
New to the CF scene
Join Date:
Jul 2002
Posts:
699
Share
Tweet
#2
Feb 15, 2004, 07:16 PM
<=
Comment
Post
Cancel
cwl157
New to the CF scene
Join Date:
Jun 2003
Posts:
93
Share
Tweet
#3
Feb 15, 2004, 07:20 PM
thanks
Thanks and does that mean that greater than or equal to is >= or is it => ?
Comment
Post
Cancel
Garadon
New to the CF scene
Join Date:
Jul 2002
Posts:
699
Share
Tweet
#4
Feb 15, 2004, 07:24 PM
it is always the 1st sign that alters
== equal
<= less or equal
>= larger or equal
!= not equal.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
X
Comment