> On 6 Jun 2016, at 06:33, Monte Goulding <mo...@appisle.net> wrote:
> 
> Hmm… certainly an interesting idea:
> 
> put 1,2,3 into tVar
> myAdd 5, item 3 of tVar
> 
> command myAdd pToAdd, @xAddTo
>   put pToAdd+xAddTo into xAddTo
> end myAdd
> 
> tVar = 1,2,8
> 
> I doubt we should get our hopes up Dar ;-)
> 
> Of course if we can do that it means ruling out what I was suggesting as the 
> chunk could mutate from one reference to the next. The case of a command 
> mutating a single chunk is much simpler as it’s just a case of retaining the 
> evaluation.



Not read the context of this thread but…….

on mouseUp

put 1,2,3 into tVar

myAdd 5, 3, tVar

put tVar

end mouseUp


command myAdd pToAdd, chunkNum,@xAddTo

put pToAdd + item chunkNum of xAddTo into item chunkNum of xAddTo

end myAdd



Terry
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to