RE: CASE problem

Subject: RE: CASE problem
From: Avi Kivity <Avi@xxxxxxxxxxxxx>
Date: Wed, 23 Jun 1999 19:44:23 +0200
On Wednesday, June 23, 1999 18:09, MARK.WROTH@xxxxxxxxxxx
[SMTP:MARK.WROTH@xxxxxxxxxxx] wrote:
> The core statement is a case, basically
> 
>   (case (attribute-string "DEC")
>     (("reg") (code to print the item))
>     (("rtn") (empty-sosofo))
>     (("pend")(empty-sosofo))
>     ((#f)    (debugging code))
>   )
> 
> The symptom is that the #f clause *always* executes, regardless of
> the value
> of the attribute.  Part of the debugging code prints the value of
> the
> attribute, and it's behaving as expected (i.e. I get "rtn" etc on
> the items
> I expect to).
> 
Do you get "rtn" or "RTN"? I always get attribute values uppercased.


---
"The only words which have meaning are the last ones spoken"



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


Current Thread
  • CASE problem
    • Wroth, Mark - Wed, 23 Jun 1999 11:10:34 -0400 (EDT)
      • <Possible follow-ups>
      • Avi Kivity - Wed, 23 Jun 1999 12:47:01 -0400 (EDT) <=