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" <pmb...@gmail.com>
Sender: use-livecode-boun...@lists.runrev.com
Date: Sat, 18 Feb 2012 17:18:54 
To: How to use LiveCode<use-livecode@lists.runrev.com>
Reply-To: How to use LiveCode <use-livecode@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
pmb...@gmail.com
http://home.comcast.net/~pmbrig



_______________________________________________
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
_______________________________________________
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