#166496 - 2006-08-28 06:47 AM
Re: Math Help
|
Lonkero
KiX Master Guru
Registered: 2001-06-05
Posts: 22346
Loc: OK
|
Code:
$=-1,-1,-1,0,-1 IIf(Ascan($array,0)<0,T,F)
|
Top
|
|
|
|
#166497 - 2006-08-28 10:45 AM
Re: Math Help
|
NTDOC
Administrator
Registered: 2000-07-28
Posts: 11623
Loc: CA
|
Code:
$=-1,-1,-1,0,-1 IIf(Ascan($,0)<0,T,F)
|
Top
|
|
|
|
#166498 - 2006-08-28 10:48 AM
Re: Math Help
|
NTDOC
Administrator
Registered: 2000-07-28
Posts: 11623
Loc: CA
|
To fit Golf rules though it should be this
Code:
Dim $ $=-1,-1,-1,0,-1 IIf(Ascan($,0)<0,T,F)
|
Top
|
|
|
|
#166499 - 2006-08-28 02:40 PM
Re: Math Help
|
Lonkero
KiX Master Guru
Registered: 2001-06-05
Posts: 22346
Loc: OK
|
well, think it actually should be: Code:
IIf(Ascan($,0)<0,T,F)
as the input is provided by the caller. odd thing is, none of us saw the varname typos up there... weird.
|
Top
|
|
|
|
#166500 - 2006-08-28 05:02 PM
Re: Math Help
|
Gargoyle
MM club member
Registered: 2004-03-09
Posts: 1597
Loc: Valley of the Sun (Arizona, US...
|
You mean where everyone kept assigning $= and then doing an Ascan($Array).
I figured since you had gone way beyone where I was I would just leave it alone...
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 248 anonymous users online.
|
|
|