Home
About
Download
Register
News
Help
Register
Log In
Forums
mIRC Help
$right with negative index returning $null?
Forums
Active Threads
Search
Who's Online
Help
Print Thread
Re: $right with negative index returning $null?
s00p
#
212970
12/06/09
11:17 AM
Joined:
Aug 2004
Posts: 7,252
Ontario, Canada
R
RusselB
Hoopy frood
RusselB
Hoopy frood
R
Joined:
Aug 2004
Posts: 7,252
Ontario, Canada
From the help file
Quote:
If N is a negative value, it returns all
but
N characters.
Noting the
bolded
word, what you are noting is intentional.
1 - 1 = 0. I suppose Kahled could've made it return 0 rather than $null.
Copy Link to Clipboard
Entire Thread
Subject
Posted By
Posted
$right with negative index returning $null?
s00p
12/06/09
07:48 AM
Re: $right with negative index returning $null?
RusselB
12/06/09
11:17 AM
Re: $right with negative index returning $null?
argv0
12/06/09
05:45 PM
Re: $right with negative index returning $null?
s00p
16/06/09
01:09 PM
Re: $right with negative index returning $null?
genius_at_work
16/06/09
01:50 PM
Re: $right with negative index returning $null?
s00p
16/06/09
04:30 PM
Re: $right with negative index returning $null?
Wims
16/06/09
02:10 PM
Re: $right with negative index returning $null?
argv0
16/06/09
05:53 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