matchChunk works?

David Bovill david at vaudevillecourt.tv
Fri Nov 19 10:29:58 EST 2010


Your destination is misquoted?

"(tDestino)" is not "(" & tDestino & ")"
>

On 19 November 2010 13:35, JosepM <jmyepes at mac.com> wrote:

>
> Hi,
>
> Not for me, well, the sample code work but this not. Why?
>
> LOCAL startMatch, endMatch
> on mouseUp
>       PUT fld "f_friends" into VAR1
>      put fld "f_look_for_friends" into tDestino
>       PUT EMPTY INTO startMatch
>      PUT EMPTY INTO endMatch
>       PUT matchChunk(VAR1,"(tDestino)",startMatch, endMatch) INTO VAR2
>       put VAR2 && startMatch && endMatch
> end mouseUp
>
> Ever I get startMatch and endMatch to empty...
>
> Salut,
> Josep
>



More information about the use-livecode mailing list