NISUS Archives

April 2011

NISUS@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Philip Spaelti <[log in to unmask]>
Reply To:
Date:
Mon, 4 Apr 2011 12:17:11 +0900
Content-Type:
text/plain
Parts/Attachments:
text/plain (35 lines)
Are you sure it doesn't work?
It works for me.

On 4. Apr 2011, at 8:27 , Žorvaršur Davķšsson wrote:

> It works fine, so why does *this* not work?
> 
> $textFound = Read Selection
> if $textFound == ''
> 	prompt "Nothing found."
> 	exit
> End 


Bill, 
the instruction "Read Selection" does exactly what you would think it should do.
So this isn't really a search. In fact if Žorvaršur is preceding this with a "Find" statement 
then there are really other methods to tell whether anything was found. E.g.

if Find …
	prompt "Found something."
else
	prompt "Found nothing."
end



On 4. Apr 2011, at 11:00 , William F. Maddock wrote:

> I'm not a coder, so maybe I'm missing something, but, where did you actually tell it to perform the search? I'm not seeing it above.


Philip Spaelti
[log in to unmask]

ATOM RSS1 RSS2