"do" statements and value function

Björnke von Gierke bvg at mac.com
Sun Jun 19 19:17:30 EDT 2011


On 20 Jun 2011, at 00:58, Timothy Miller wrote:

> Are there things you can do with "do" that you can't do with "value"?

Yes. for example these things can't be done with value:

do "delete graphic 1"

repeat for each item  myOtherVar in "a,b,c,d,e"
do "put myVar into myOtherVar"
end repeat

generally, value() allows you to do math things, and data-retrieval stuff. Meanwhile 'do' allows you to do _everything_ you can do in normal scripts.

see also the relevant entries in the dictionary.

-- 

official ChatRev page:
http://bjoernke.com/chatrev


Chat with other RunRev developers:
go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev"





More information about the use-livecode mailing list