matchChunk works?

mazzapaolo at libero.it mazzapaolo at libero.it
Thu Nov 12 03:26:54 EST 2009


On Rev 4.0.0 I tryed matchChunk but even if VAR2 is true the variables 
startMatch and endMatch are empty. Why?

See this script:

LOCAL startMatch,
endMatch
on mouseUp
   PUT "tutuytuZXytuyt" into VAR1
   PUT EMPTY INTO 
startMatch
   PUT EMPTY INTO endMatch
   PUT matchChunk(VAR1,"ZX",startMatch,
endMatch) INTO VAR2
   put VAR2 && startMatch && endMatch
end mouseUp

Best 
regards,

Paolo Mazza





More information about the use-livecode mailing list