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:
Þorvarður Davíðsson <[log in to unmask]>
Reply To:
Date:
Mon, 4 Apr 2011 14:05:16 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (28 lines)
On 04.04.2011, at 05:17, Philip Spaelti wrote:

> 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 
> 
> 

I have an idea why it does not work by me. I presume the weak point are the last two characters in the line

>> if $textFound == ‘’

Maybe these two characters were not created correctly by me. They were created by pressing Alt + the key next to the delete key on the German keyboard. I suppose the character value is preserved so you can test it by *copying* the line and use it in your macro. And maybe it is important whether I use curly quotes or not. In Nisus I don’t use any curly quotes, but Smart Quotes are activated in the Language and Text pane in the System Preferences. I don’t know if that is of any importance.

How did *you* create those two characters?


Žorvaršur

ATOM RSS1 RSS2