conditional error
conditional error
- Subject: conditional error
- From: monk <email@hidden>
- Date: Sun, 22 Jul 2001 04:50:43 -0400
when i run this, the first 'if' compiles fine, but the second and third give
me an error that 'can't make some data into expected type'
--
if button returned of (display dialog "process by:" buttons {"word", "line",
"paragraph"} default button "word") is "word" then
set _listsource to (read _source as text using delimiter {return,
space})
else if button returned is "line" then
set _listsource to (read _source as text using delimiter {return})
else
set _listsource to (read _source as text using delimiter {space})
end if
--
any ideas on why this is failing?
h 'monk' elmer
--
|,,,,,,,,,,,|
http://www.assemblage.org
||