problems pasting text into the IDE (mac os x)
Wouter
wouter.abraham at pi.be
Sat Jan 10 10:43:06 EST 2004
Next results on:
>
>> Message: 7
>> Date: Fri, 9 Jan 2004 20:59:31 -0700
>> From: Alex Rice <alex at mindlube.com>
>> Subject: problems pasting text into the IDE (mac os x)
>> To: How to use Revolution <use-revolution at lists.runrev.com>
>> Message-ID: <64BA4B18-4321-11D8-A69F-000393C4760A at mindlube.com>
>> Content-Type: text/plain; charset=US-ASCII; format=flowed
>>
>> I work in MS Excel extensively, copy pasting text between it and
>> Revolution.
>>
>> I experience problems with the Rev IDE when I copy-paste text from MS
>> Excel into the IDE, on OS X. Like:
>>
>> - script won't compile
>> - find and replace dialog won't find correctly
>> - answer dialog won't properly display text stored in a custom
>> property
>>
>
> snip
>
>> Alex Rice <alex at mindlube.com> | Mindlube Software |
>> <http://mindlube.com>
>
>
> Hi Alex,
>
> The problem can be caused by some < numtochar(0) > characters left in
> the text by any text editor. May be there are others, but this is the
> one
> I could catch.
>
Some more catches :
the numtochar numbers to replace with empty in the scripttext:
the 0 already mentioned produces a compile error "Handler: bad
command"
(in my testcase)
8, 29 will compile but produces a "can't find handler" - error when
run
Testmethod:
on mouseUp
put "on mouseup" & cr & "beep" & cr & "end mouseup" into fld "test"
put numtochar(0) before line 2 of fld "test1" ### 0 8 29
end mouseUp
Copy and paste the result into the script of a button and try to compile
and/or run the script
HTH, until the next catch if there are
WA
More information about the use-livecode
mailing list