• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: conditional error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: conditional error


  • Subject: Re: conditional error
  • From: monk <email@hidden>
  • Date: Sun, 22 Jul 2001 12:30:22 -0400

-- 7/22/01 11:04 am: email@hidden said:

>> 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 ---
>> <-----Here!
>>
>> 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
>
> yes. The computer does not know what button returned you are talking about
> <script>
> set z to button returned of (display dialog "process by:" buttons
> {"word", "line","paragraph"} default button "word")
> if z is "word" then
> do this
> else if z is "line" the
> do this other stuff
> else -- button is paragraph
> do yet something different
> end if
> </script>
>
> the distinction between paragraph and line might be very thin! Go
> there at your own risk. Sometimes line gets you screwed up.
>
> Deivy Petrescu
> http://www.dicas.com

thanks again deivy!

h 'monk' elmer
--
http://www.assemblage.org
[ _ o
o o _ -- - - -- > s y m p h o n i c j a m s ]


  • Prev by Date: Re: conditional error
  • Next by Date: Re: conditional error
  • Previous by thread: Re: conditional error
  • Next by thread: [Rant] Will mount volume EVER work the way it is supposed to?!
  • Index(es):
    • Date
    • Thread