Using DropBox for Faster Mobile Development

mikedoub at gmail.com mikedoub at gmail.com
Sat Feb 18 17:24:12 EST 2012


Thanks for the advise Peter.  In this case I was just experimenting to see if the return character was being passed in as part of the line chunk. Using a repeat in this case was just to test another case of the line construct. 

  -= Mike
 
Sent from my BlackBerry device on the Rogers Wireless Network

-----Original Message-----
From: "Peter M. Brigham, MD" <pmbrig at gmail.com>
Sender: use-livecode-bounces at lists.runrev.com
Date: Sat, 18 Feb 2012 17:18:54 
To: How to use LiveCode<use-livecode at lists.runrev.com>
Reply-To: How to use LiveCode <use-livecode at lists.runrev.com>
Subject: Re: Using DropBox for Faster Mobile Development

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



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


More information about the use-livecode mailing list