Re: removing an item from a list [Was: Two Questions]
Re: removing an item from a list [Was: Two Questions]
- Subject: Re: removing an item from a list [Was: Two Questions]
- From: Michelle Steiner <email@hidden>
- Date: Sun, 11 Feb 2001 14:14:10 -0800
On 2/11/01 1:25 PM, Marc K. Myers <email@hidden> wrote:
>
set theList to {"A", "B", "C", "D", "E", "F", "G"}
>
set listCnt to (count of theList)
>
display dialog "Which item do you want to remove?" default answer ""
>
set itemNbr to (text returned of the result) as integer
--> {text returned:"d", button returned:"OK"}
--> Can't make "d" into a integer.
And that's what I expected to happen.
--Michelle
----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------