• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
bug in rest of list?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in rest of list?


  • Subject: bug in rest of list?
  • From: email@hidden
  • Date: Mon, 4 Feb 2002 22:54:55 EST

I discovered what may be a bug. Consider this code (AS 1.7 with Standard
Additions 1.6):

set x to {"&&&&", "===="}
set y to rest of x
--> y should be {"===="}

set z to class of y
display dialog z as string
--> list (as expected)

set z to count y
display dialog z as string
-- > 1 (as expected)

try
display dialog y as integer -- deliberately err
on error errmsg
display dialog errmsg -- y looks like a string!
end try

Any explanations forthcoming?

Jeff Baumann
email@hidden
www.linkedresources.com


  • Follow-Ups:
    • Re: bug in rest of list?
      • From: John W Baxter <email@hidden>
    • Re: bug in rest of list?
      • From: Emmanuel <email@hidden>
  • Prev by Date: Re: store script bloats saved files?
  • Next by Date: Re: X annoyances
  • Previous by thread: RE: Grams, Mike J. (CGC): Setting Preferred Memory
  • Next by thread: Re: bug in rest of list?
  • Index(es):
    • Date
    • Thread