Re: Stumped: 0 "not a quantity"

Subject: Re: Stumped: 0 "not a quantity"
From: Brandon Ibach <bibach@xxxxxxxxxxxxxx>
Date: Mon, 26 Jul 1999 17:16:45 -0500
Quoting Chris Maden <crism@xxxxxxxxxxx>:
> I have this code in my stylesheet:
> 
> (let auths-loop
>     ((auth-idx 0))
>   (if (<= num-auths
>           auth-idx)
> 
> Jade reports:
> 
> 2nd argument for primitive "<=" of wrong type: "#<unknown object
> 20930952>" not a quantity
> 
> In what sense is 0 not a quantity?  Obviously, the assignment hasn't
> worked correctly, but I can't figure out how.
> 
Hey, Chris...
   I think we need to see more code here.  I'd like to know more about
num-auths, but I'd really like to see the rest of the (let) construct,
as I suspect the initial assignment is fine, but a recursive call may
assign something funky, which is causing this message.

-Brandon :)


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread