Get wordOffset Causes Rev to Crash
Gregory Lypny
gregory.lypny at videotron.ca
Thu Jul 30 13:06:33 EDT 2009
Hello Craig,
Thanks for checking it out. I'm using OS X 10.5.7, don't know if that
makes a difference, and those constructions, as I mentioned, were
tested in a loop as in
repeat for each line thisString in theText
get wordOffset("cat", theString)
put it & return after msg
end repeat
Gregory
On Thu, Jul 30, 2009, at 1:00 PM, use-revolution-request at lists.runrev.com
wrote:
> My rev works fine with both constructions. (3.5, OS 10.4) Nothing
> seems to
> be lurking in your code, though, so I havn't a clue.
>
> Craig Newman
>
>
> In a message dated 7/29/09 2:45:11 PM, gregory.lypny at videotron.ca
> writes:
>
>
>> get wordOffset("cat", theString)
>> put it & return after msg
>>
>> causes Rev to crash. Am I doing something wrong or is this a bug?
>> Note that invoking the get command just once in the message box is
>> not
>> a problem. For example,
>>
>> get wordOffset("cat", "The cat in the hat")
>> if it > 1 then put "yes"
>>
>
More information about the use-livecode
mailing list