- Subject: [slang-users] possible returns values for where
- From: Joe Miller <lpe540@xxxxxxxxx>
- Date: Fri, 23 Dec 2005 06:35:14 -0800 (PST)
Hi all,
This is more for a sanity check than anything else.
I'm reviewing a slang script written by someone else
and trying to decipher a section of it. The author of
the script does essencially the following
index = where (x < y);
if ((length (index) == 1) and (index[0] != -1)){
....
}
As far as I know there's no way for the 'where'
function to return a negative value. But I wanted to
double check before I took it out.
Thanks.
-joe
__________________________________________
Yahoo! DSL ? Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com
_______________________________________________
To unsubscribe, visit http://jedsoft.org/slang/mailinglists.html
[2005 date index]
[2005 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]