Home
About
Download
Register
News
Help
Register
Log In
Forums
Bug Reports
if ($n) failes when $n is 0 ?
Forums
Active Threads
Search
Who's Online
Help
Print Thread
Re: if ($n) failes when $n is 0 ?
#
138308
28/12/05
12:31 PM
Joined:
Jun 2003
Posts: 195
Earth Prime
N
Narusegawa_Naru
Vogon poet
Narusegawa_Naru
Vogon poet
N
Joined:
Jun 2003
Posts: 195
Earth Prime
wouldnt you use if ($$2) ? I thought $$ meant to fail if $2 didnt exist. So if you want to test for 0 (i.e false) as well
if ($$2) {
your code here test for 0 as well
}
else {
it didnt exist
}
Copy Link to Clipboard
Entire Thread
Subject
Posted By
Posted
if ($n) failes when $n is 0 ?
Om3n
28/12/05
11:25 AM
Re: if ($n) failes when $n is 0 ?
Collective
28/12/05
11:34 AM
Re: if ($n) failes when $n is 0 ?
Om3n
29/12/05
06:46 AM
Re: if ($n) failes when $n is 0 ?
ClickHeRe
28/12/05
11:47 AM
Re: if ($n) failes when $n is 0 ?
Narusegawa_Naru
28/12/05
12:31 PM
Re: if ($n) failes when $n is 0 ?
FiberOPtics
28/12/05
04:16 PM
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Flat Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage