Using DropBox for Faster Mobile Development

Peter M. Brigham, MD pmbrig at gmail.com
Sat Feb 18 17:18:54 EST 2012


On Feb 18, 2012, at 10:57 AM, Michael Doub wrote:

> ...
> 
> on mouseUp
>   put URL "http://dl.dropbox.com/u/43797494/LiveCode/LoadLinks" into list
>   repeat for each line x in list
>      delete the last char of x
>      put x into StacktoLoad
>      exit repeat
>   end repeat
>   go URL StacktoLoad
> end mouseUp

Usually when using a "repeat for each line x" structure you will break things if you change x within the repeat structure. Interesting that in this case it works. However, it's a good habit to get into to put x into another variable and then change that, if you're using "repeat for each...".

-- Peter

Peter M. Brigham
pmbrig at gmail.com
http://home.comcast.net/~pmbrig






More information about the use-livecode mailing list