sentences as items

Chris Sheffield cm_sheffield at yahoo.com
Fri Mar 7 13:04:51 EST 2003


You can do it one of two ways.  I am using .rtf files
and reading them in at run-time so that I have styled
text.  What I first did was use the command "set the
clipboardData["text"] to NumToChar(160)" in the Rev
Message Box.  Then I opened my text editor and pasted
where necessary.  It worked well.  But then I moved my
file to the Mac.  Because it's a higher ASCII
character, it didn't display right on the Mac.  So
what I ended up doing was putting some other lower
ASCII character like "~" (or anything that's not very
likely) in my files instead of the actual delimiter
character.  Then in my code I replaced that character
with NumToChar(160) on Windows and NumToChar(202) on
Mac after reading in the file.  I hope that all makes
sense.

Chris Sheffield

--- Toma Tasovac <ttasovac at princeton.edu> wrote:
> Chris, let me abuse your kindness one last time. 
> Your solution is 
> exactly what I need, but what's still not clear to
> me is the very first 
> step.  Once I know how to insert the special
> character, it will be 
> pretty trivial to to a search and replace in BBEdit
> and make sure that 
> all sentences end with a punctuation sign + special
> character.  But how 
> do I insert that special character in a text editor
> in the first place? 
>   I know that this is something terribly obvious and
> banal, but please 
> indulge my ignorance!
> 
> Many thanks for your help.
> 
> Toma
> 
> 
> 

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/



More information about the use-livecode mailing list