getting Wrapped up

Richmond Mathewson richmondmathewson at gmail.com
Fri Aug 7 04:33:54 EDT 2009


Sarah Reichelt wrote:
> On Fri, Aug 7, 2009 at 9:43 AM, Richmond
> Mathewson<richmondmathewson at gmail.com> wrote:
>   
>> If I set the  dontWrap  to false
>>
>> text does NOT wrap (2.0.1, 2.6.1, 4.0a).
>>
>> In fact I cannot get my unicode text to wrap at all.
>>
>> Is there any white space in the text? Wrapping only occurs between
>> words and will not split words.
>>
>> Cheers,
>> Sarah
>> _______________________________________________
>>
>>     
Thanks!

I was being very stupid: finding that statements such as:

set the useUnicode to true
set the unicodeText of fld "XXX" to "  " & numToChar(12345)

produced gobblydegook, I forgot that 32 is the rawKey number of the
Space Bar and was using another 'space', which the computer
recognised as a character.

I, now have a similar problem with RETURN (65293).

My whole mistake revolved around the fact that I did not understand that
one cannot "mix and match" numToChar stuff with conventional text.

This does not seem to be stated in the Documentation.




More information about the use-livecode mailing list