Re: how to get the zero's out of a list
Re: how to get the zero's out of a list
- Subject: Re: how to get the zero's out of a list
- From: Michelle Steiner <email@hidden>
- Date: Thu, 8 Mar 2001 15:07:41 -0800
On 3/8/01 7:12 AM, Jacco Rens <email@hidden> wrote:
>
--> becomes {"0", "1", "0", "4"}
>
>
set cell "B" of current record to A
>
>
--> becomes {"0", "1", "0", "4"}
>
but i want {"", "1", "", "4"}
>
>
>
How, oh how do i do this ?
set a to {"0", "1", "0", "4"}
repeat with i from 1 to count (a)
if item i of a is "0" then set item i of a to ""
end repeat
--Michelle
----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------