bug in rest of list?
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