Re: ranting again
Re: ranting again
- Subject: Re: ranting again
- From: Richard 23 <email@hidden>
- Date: Sun, 3 Dec 2000 07:41:30 -0800
>
As you pointed out, the "as item" does nothing in that construction.
Show me an easier way to return a single item list as a single item
without affecting a list result without an if-then construction and
I'll use it.
on Quote(myInput)
set myOutput to {}
repeat with theItem in myInput
set theItem to "'" & theItem & "'"
end repeat
myOutput as item
end Quote
set theStr to Quote("hello")
--> 'hello'
set {strOne, strTwo} to Quote({"Hello", "there"})
--> {'Hello', 'there'}
It is doing something...
R23