go stack on windows behaves strange
Hi, I have a splash stack with some checking things etc. At the end I call my main program and hide the main stack, because of the need of some scripts of the splash stack: go stack foo hide me This looks very easy and works since years. Now with LC 6.6.2 on Win 7 I am experiencing a very strange behavior. Sometimes on startup of the standalone the splash stack hangs at the go stack foo and doesn't goes on. Stack foo doesn't appear and the splash stack doesn't hide. When hovering the mouse over the hanging splash stack (without clicking) the script goes on, stack foo appears and the splash stack hides. It seems, as if the LC program looses it's focus, stops processing the handler and waits until it gets the focus again. Because of this issue only appears randomly I couldn't drill it down to anything. Is it LC 6.6.2, Is my windows running wrong? Is it some other program on my machine making a conflict? Has anybody experienced such a behavior or has an idea how I can drill down, what causes this random hang or has an idea how to give the script a shove? Thanks for any ideas Tiemo ___ 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
AW: couple of photospheres...
Colin, thanks for the insights :) -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von Colin Holgate Gesendet: Freitag, 5. September 2014 00:51 An: How to use LiveCode Betreff: couple of photospheres... From the conference: https://www.google.com/maps/views/view/114217638380823763773/gphoto/60546891 89 803590450 https://www.google.com/maps/views/view/114217638380823763773/gphoto/60553477 76 837818594 ___ 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
Re: NOT using a proxy with 6.7 on Windows...
Hi, ok, this will be fun to debug :-( What I found out is that the registry is used to make the machines aware of using the proxy. HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Internet Settings This has two keys, one for the proxy and one for the exceptions. In the exceptions the entry for not using the proxy is ProxyOverride 10.* Would it be helpful to use wireshark to record what happens? All the best, Malte ___ 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
Re: How To: Delete columns of data
Hi John The routine lets you specify any number of columns to delete. You do not have to use it on each column. If you have 11 columns, simply specify which ones you do not want. If you have comma-separated data, you need to specify the columnDelimiter. This includes that option... on mouseUp --| Syntax: deleteColumns data,cols[,delim] --| data: Specifies the data to parse. --| cols: A comma separated list of columns to be removed for example 2,5,7. --| delim: Optional column separator for example , or |. If unspecified, defaults to TAB. deleteColumns fld Input,1,3,5 -- Specify what to do with 'the result'... put the result into fld Output end mouseUp on deleteColumns pData,pColsToDelete,pDelim try set the columnDelimiter to pDelim end try split pData by column put item 2 of extents(pData) into tMax repeat with n=1 to tMax if n is NOT among the items of pColsToDelete then add 1 to x put pData[n] into pData[x] end if end repeat repeat with n=x+1 to tMax delete local pData[n] end repeat combine pData by column return pData end deleteColumns Or have I misunderstood the problem you face? Best regards Hugh Senior FLCo From: JB sund...@pacifier.com That is fast but here are a few problems I am having. It looks to me like you can only delete one column and then you use it again to delete another column. I am getting a list of the detailed files which is a comma separated list of 11 items and I only want to end up with 4 columns. When I use it again it looks like I need to calculate the column I deleted to know which columns I still need to delete. Not major issue. The bigger problem is this scenario. I deleted a bunch of columns from a list of a little over 30,000 files and it worked but then I use the open to select another folder of files and it only had around 305 files but for some reason it appears the memory is not cleared because the cursor spins and won?t take me to the other folder. I use Force Quit and it list Revolution as not responding. It does not look like this is code limited to newer versions of LiveCode so I don?t understand why Revolution would quit responding. John Balgenorth ___ 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
Re: How To: Delete columns of data
Hugh, I noticed that you did not create this as a function. Can you explain your rational? I am always debating this with myself. Regards, Mike On Sep 5, 2014, at 7:59 AM, FlexibleLearning.com ad...@flexiblelearning.com wrote: Hi John The routine lets you specify any number of columns to delete. You do not have to use it on each column. If you have 11 columns, simply specify which ones you do not want. If you have comma-separated data, you need to specify the columnDelimiter. This includes that option... on mouseUp --| Syntax: deleteColumns data,cols[,delim] --| data: Specifies the data to parse. --| cols: A comma separated list of columns to be removed for example 2,5,7. --| delim: Optional column separator for example , or |. If unspecified, defaults to TAB. deleteColumns fld Input,1,3,5 -- Specify what to do with 'the result'... put the result into fld Output end mouseUp on deleteColumns pData,pColsToDelete,pDelim try set the columnDelimiter to pDelim end try split pData by column put item 2 of extents(pData) into tMax repeat with n=1 to tMax if n is NOT among the items of pColsToDelete then add 1 to x put pData[n] into pData[x] end if end repeat repeat with n=x+1 to tMax delete local pData[n] end repeat combine pData by column return pData end deleteColumns Or have I misunderstood the problem you face? Best regards Hugh Senior FLCo From: JB sund...@pacifier.com That is fast but here are a few problems I am having. It looks to me like you can only delete one column and then you use it again to delete another column. I am getting a list of the detailed files which is a comma separated list of 11 items and I only want to end up with 4 columns. When I use it again it looks like I need to calculate the column I deleted to know which columns I still need to delete. Not major issue. The bigger problem is this scenario. I deleted a bunch of columns from a list of a little over 30,000 files and it worked but then I use the open to select another folder of files and it only had around 305 files but for some reason it appears the memory is not cleared because the cursor spins and won?t take me to the other folder. I use Force Quit and it list Revolution as not responding. It does not look like this is code limited to newer versions of LiveCode so I don?t understand why Revolution would quit responding. John Balgenorth ___ 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
Re: NOT using a proxy with 6.7 on Windows...
On Fri, Sep 5, 2014 at 6:56 AM, Malte Brill revolut...@derbrill.de wrote: ok, this will be fun to debug :-( What I found out is that the registry is used to make the machines aware of using the proxy. HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Internet Settings This has two keys, one for the proxy and one for the exceptions. In the exceptions the entry for not using the proxy is ProxyOverride 10.* Would it be helpful to use wireshark to record what happens? I don't think you will need to use wireshark to troubleshoot this. Does the URL you are requesting start with 10.? If so, it may be that libURL is not picking up the bypass list properly. If you look at libURL, you will see the _proxyConfig_ConfigureBypassList command. This attempts to build the bypass list. If the proxy is enabled for the user settings then the list is taken from HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyOverride. If not, then the proxy enabled is checked for the system and the list is taken from HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyOverride. I just did a quick test where I set the internal libURL bypass list to 10.*. I then called libURLURLBypassesProxy(http://10.1.1.1/myurl.html;) which returned true (meaning no proxy should be assigned). So I think libURL should set the proxy to empty in that case assuming libURL is getting the bypass list properly. You might try updating libURL and sending a new build to the customer. I would do the following: Update libURLSetProxyBypassList to this: command libURLSetProxyBypassList pList replace ; with LF in pList ulLogIt setting proxy bypass list: lvProxyBypassList cr put pList into lvProxyBypassList end libURLSetProxyBypassList Now your internet logging routine will report if the bypass list is being set. If not, then we know libURL isn't picking up the settings properly and we know where to look to find out why. -- Trevor DeVore ScreenSteps www.screensteps.com-www.clarify-it.com ___ 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
Re: How To: Delete columns of data
On Sep 5, 2014, at 7:59 AM, FlexibleLearning.com wrote: The routine lets you specify any number of columns to delete. You do not have to use it on each column. If you have 11 columns, simply specify which ones you do not want. If you have comma-separated data, you need to specify the columnDelimiter. This includes that option... Here's a version of your handler that includes the option of specifying a column range to delete. I converted your handler to a function, it's more intuitive that way, for me at least. Call it like this: put deleteColumns(tTable,3-6) into tNewTable -- will delete columns 3, 4, 5, and 6 of tTable (tab delimited) -- function deleteColumns pData,pColsToDelete,pDelim -- delete specified columns from a table -- Syntax: deleteColumns data,cols[,delim] -- data: Specifies the data to parse. -- cols: A comma separated list of columns to be removed, -- for example 2,5,7 -- or a column range: 3-5 -- delim: Optional column separator, for example , or | -- if unspecified, defaults to tab. -- based on a handler by Hugh Senior, Use-LC list -- requires getItem() if pColsToDelete = empty then return pData if - is in pColsToDelete then put getItem(pColsToDelete,1,-) into firstColNbr put getItem(pColsToDelete,2,-) into lastColNbr repeat with i = firstColNbr to lastColNbr put i comma after pColsToDelete end repeat delete char -1 of pColsToDelete end if if pDelim = empty then put tab into pDelim set the columnDelimiter to pDelim split pData by column put item 2 of extents(pData) into tMax repeat with n=1 to tMax if n is NOT among the items of pColsToDelete then add 1 to x put pData[n] into pData[x] end if end repeat repeat with n=x+1 to tMax delete local pData[n] end repeat combine pData by column return pData end deleteColumns function getItem tList,tIndex,tDelim -- returns item # tIndex of tList, given itemdelimiter = tDelim -- could just get item tIndex of tList in the calling handler but --then have to set and restore the itemDelimiter, so this is less hassle -- defaults to tDelim = comma if tDelim = empty then put comma into tDelim set the itemdelimiter to tDelim return item tIndex of tList end getItem -- -- 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
Re: How To: Delete columns of data
Sorry, left out a crucial line: put empty into pColsToDelete before the repeat. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig -- function deleteColumns pData,pColsToDelete,pDelim -- delete specified columns from a table -- Syntax: deleteColumns data,cols[,delim] -- data: Specifies the data to parse. -- cols: A comma separated list of columns to be removed, -- for example 2,5,7 -- or a column range: 3-5 -- delim: Optional column separator for example , or | -- if unspecified, defaults to tab. -- based on a handler by Hugh Senior, Use-LC list -- requires getItem() if pColsToDelete = empty then return pData if - is in pColsToDelete then put getItem(pColsToDelete,1,-) into firstColNbr put getItem(pColsToDelete,2,-) into lastColNbr put empty into pColsToDelete repeat with i = firstColNbr to lastColNbr put i comma after pColsToDelete end repeat delete char -1 of pColsToDelete end if if pDelim = empty then put tab into pDelim set the columnDelimiter to pDelim split pData by column put item 2 of extents(pData) into tMax repeat with n=1 to tMax if n is NOT among the items of pColsToDelete then add 1 to x put pData[n] into pData[x] end if end repeat repeat with n=x+1 to tMax delete local pData[n] end repeat combine pData by column return pData end deleteColumns function getItem tList,tIndex,tDelim -- returns item # tIndex of tList, given itemdelimiter = tDelim -- could just get item tIndex of tList in the calling handler but --then have to set and restore the itemDelimiter, so this is less hassle -- defaults to tDelim = comma if tDelim = empty then put comma into tDelim set the itemdelimiter to tDelim return item tIndex of tList end getItem ___ 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
Re: How To: Delete columns of data
Here is an even more general version: function deleteColumns pData,pColsToDelete,pDelim -- delete specified columns from a table -- Syntax: deleteColumns data,cols[,delim] -- data: Specifies the data to parse. -- cols: A comma separated list of columns or column ranges to be removed, -- for example 2,5,7 -- or a column range: 3-5 -- or a combination 2,4-5,7,9-11, -- delim: Optional column separator for example , or | -- if unspecified, defaults to tab. -- based on a handler by Hugh Senior and Peter M. Brigham, Use-LC list -- requires getItem() if pColsToDelete = empty then return pData repeat for each item pCol in pColsToDelete if - is in pCol then put getItem(pCol,1,-) into firstColNbr put getItem(pCol,2,-) into lastColNbr repeat with i = firstColNbr to lastColNbr put i comma after pColsToDeleteExpanded end repeat else put pCol comma after pColsToDeleteExpanded end if end repeat put char 1 to -2 of pColsToDeleteExpanded into pColsToDelete if pDelim = empty then put tab into pDelim set the columnDelimiter to pDelim split pData by column put item 2 of extents(pData) into tMax repeat with n=1 to tMax if n is NOT among the items of pColsToDelete then add 1 to x put pData[n] into pData[x] end if end repeat repeat with n=x+1 to tMax delete local pData[n] end repeat combine pData by column return pData end deleteColumns function getItem tList,tIndex,tDelim -- returns item # tIndex of tList, given itemdelimiter = tDelim -- could just get item tIndex of tList in the calling handler but --then have to set and restore the itemDelimiter, so this is less hassle -- defaults to tDelim = comma if tDelim = empty then put comma into tDelim set the itemdelimiter to tDelim return item tIndex of tList end getItem On Sep 5, 2014, at 10:58 AM, Peter M. Brigham pmb...@gmail.com wrote: Peter M. Brigham ___ 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
Presentation slides and extras
My presentation files on the USB stick was corrupt. I reuploaded the zip file to the thumb drives. Heather has confirmed the files are OK. See Heather or email me to obtain this material. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net ___ 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
Re: How To: Delete columns of data
just to complete your library, here is a function that will extract the listed column in the order that you specify but it does not modify the original data. -= Mike function extractColumns @pData,pColsToReturn,pDelim -- Extract specified columns from a table in order -- Syntax: extractColumns data,cols[,delim] -- data: Specifies the data to parse. -- cols: A comma separated list of columns or column ranges to be returned in order -- for example 2,7,5 -- or a accending column range: 3-5 -- of a decending column range: 5-3 -- or a combination 2,4-5,7,11-9 -- delim: Optional column separator for example , or | -- if unspecified, defaults to tab. -- based on a handler by Hugh Senior and Peter M. Brigham, Use-LC list -- requires getItem() if pColsToReturn = empty then return pData repeat for each item pCol in pColsToReturn if - is in pCol then put getItem(pCol,1,-) into firstColNbr put getItem(pCol,2,-) into lastColNbr if firstColNbr lastColNbr then repeat with i = firstColNbr to lastColNbr put i comma after pColsToReturnExpanded end repeat else repeat with i = firstColNbr down to lastColNbr put i comma after pColsToReturnExpanded end repeat end if else put pCol comma after pColsToReturnExpanded end if end repeat put char 1 to -2 of pColsToReturnExpanded into pColsToReturn if pDelim = empty then put tab into pDelim set the columnDelimiter to pDelim split pData by column put item 2 of extents(pData) into tMax repeat for each item n in pColsToReturn add 1 to x put pData[n] into rData[x] end repeat combine rData by column return rData end extractColumns On Sep 5, 2014, at 1:51 PM, Michael Doub miked...@gmail.com wrote: Here is an even more general version: function deleteColumns pData,pColsToDelete,pDelim -- delete specified columns from a table -- Syntax: deleteColumns data,cols[,delim] -- data: Specifies the data to parse. -- cols: A comma separated list of columns or column ranges to be removed, -- for example 2,5,7 -- or a column range: 3-5 -- or a combination 2,4-5,7,9-11, -- delim: Optional column separator for example , or | -- if unspecified, defaults to tab. -- based on a handler by Hugh Senior and Peter M. Brigham, Use-LC list -- requires getItem() if pColsToDelete = empty then return pData repeat for each item pCol in pColsToDelete if - is in pCol then put getItem(pCol,1,-) into firstColNbr put getItem(pCol,2,-) into lastColNbr repeat with i = firstColNbr to lastColNbr put i comma after pColsToDeleteExpanded end repeat else put pCol comma after pColsToDeleteExpanded end if end repeat put char 1 to -2 of pColsToDeleteExpanded into pColsToDelete if pDelim = empty then put tab into pDelim set the columnDelimiter to pDelim split pData by column put item 2 of extents(pData) into tMax repeat with n=1 to tMax if n is NOT among the items of pColsToDelete then add 1 to x put pData[n] into pData[x] end if end repeat repeat with n=x+1 to tMax delete local pData[n] end repeat combine pData by column return pData end deleteColumns function getItem tList,tIndex,tDelim -- returns item # tIndex of tList, given itemdelimiter = tDelim -- could just get item tIndex of tList in the calling handler but --then have to set and restore the itemDelimiter, so this is less hassle -- defaults to tDelim = comma if tDelim = empty then put comma into tDelim set the itemdelimiter to tDelim return item tIndex of tList end getItem On Sep 5, 2014, at 10:58 AM, Peter M. Brigham pmb...@gmail.com wrote: Peter M. Brigham ___ 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
Re: How To: Delete columns of data
Opps, I left off the getItem function. Here it is again for completeness: just to complete your library, here is a function that will extract the listed columns in the order that you specify but it does not modify the original data. -= Mike function extractColumns @pData,pColsToReturn,pDelim -- Extract specified columns from a table in order -- Syntax: extractColumns data,cols[,delim] -- data: Specifies the data to parse. -- cols: A comma separated list of columns or column ranges to be returned in order -- for example 2,7,5 -- or a accending column range: 3-5 -- of a decending column range: 5-3 -- or a combination 2,4-5,7,11-9 -- delim: Optional column separator for example , or | -- if unspecified, defaults to tab. -- based on a handler by Hugh Senior and Peter M. Brigham, Use-LC list -- requires getItem() if pColsToReturn = empty then return pData repeat for each item pCol in pColsToReturn if - is in pCol then put getItem(pCol,1,-) into firstColNbr put getItem(pCol,2,-) into lastColNbr if firstColNbr lastColNbr then repeat with i = firstColNbr to lastColNbr put i comma after pColsToReturnExpanded end repeat else repeat with i = firstColNbr down to lastColNbr put i comma after pColsToReturnExpanded end repeat end if else put pCol comma after pColsToReturnExpanded end if end repeat put char 1 to -2 of pColsToReturnExpanded into pColsToReturn if pDelim = empty then put tab into pDelim set the columnDelimiter to pDelim split pData by column put item 2 of extents(pData) into tMax repeat for each item n in pColsToReturn add 1 to x put pData[n] into rData[x] end repeat combine rData by column return rData end extractColumns function getItem tList,tIndex,tDelim -- returns item # tIndex of tList, given itemdelimiter = tDelim -- could just get item tIndex of tList in the calling handler but --then have to set and restore the itemDelimiter, so this is less hassle -- defaults to tDelim = comma if tDelim = empty then put comma into tDelim set the itemdelimiter to tDelim return item tIndex of tList end getItem ___ 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
Strange error uploading iOS app to Apple
Has anyone experienced this before? I wanted to try out the new TestFlight stuff through Apple today, so I tried to upload an app build but am receiving the following error from Application Loader: Your app contains non-public API usage. Please review the errors, correct them, and resubmit your application. The app references non-public symbols in [app_name]: MPMoviePlayerContentPreloadDidFinishNotification As far as I know I’m not using this anywhere. The only thing I can think of is that I’m using mergNotify (Monte?) to display a message to the user when the app becomes active again after the device has been locked. Does mergNotify possibly have something in it that’s causing this? Anyone have any other ideas? The app is built with LC 6.6.2. This app is still in beta testing, but we’re going to ready for release very soon, and I’d like to have this worked out asap. Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com ___ 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
Re: Strange error uploading iOS app to Apple
I wonder if iOS also doesn’t like QuickTime references now? Have you tried using LiveCode 6.7, to see if you still get the error? ___ 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
Re: Strange error uploading iOS app to Apple
No, but that’s a good idea. Hadn’t thought of it. Only bad thing is, my app shows some strange bugs when built with LC 6.7. But it might be worth a try just to see if it’ll upload to Apple. Thanks. On Sep 5, 2014, at 1:31 PM, Colin Holgate co...@verizon.net wrote: I wonder if iOS also doesn’t like QuickTime references now? Have you tried using LiveCode 6.7, to see if you still get the error? ___ 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
Re: Strange error uploading iOS app to Apple
Make sure you’re on the RC1 from a week ago: http://downloads.livecode.com/livecode/ On Sep 5, 2014, at 12:35 PM, Chris Sheffield cmsheffi...@icloud.com wrote: No, but that’s a good idea. Hadn’t thought of it. Only bad thing is, my app shows some strange bugs when built with LC 6.7. But it might be worth a try just to see if it’ll upload to Apple. Thanks. On Sep 5, 2014, at 1:31 PM, Colin Holgate co...@verizon.net wrote: I wonder if iOS also doesn’t like QuickTime references now? Have you tried using LiveCode 6.7, to see if you still get the error? ___ 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
fatal flaw in Mobile Support preferences under Yosemite
Just got bit by this. Thought I’d throw out the warning just in case. I installed OS X Yosemite yesterday to give it a go. I fired up LC today and tried to create an app build (iOS) only to discover that the process failed. I went into the Mobile Support prefs, and the entire iOS SDKs pane was disabled and no SDKs were set. I peeked into the code a bit, and discovered that it’s using the systemVersion in a couple places to determine which versions of OS X and SDKs are supported. Turns out, under Yosemite, the systemVersion returns 10.10.0, which of course, numbers-wise, is less than 10.6, 10.7, 10.8, etc. So the pane is getting disabled and it’s impossible to set the path to any SDK. Pretty nasty bug. I’ll report it, but thought I’d give everyone a heads up. I’ll probably try to come up with a workaround in the meantime, as I need it to work with LC 6.6.2, and I’m not sure if we’ll get another 6.6.x release in order to fix it or not. Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com ___ 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
copying files
Hello All, I need to copy some files from one folder to another in Windows. I have searched the dictionary and cannot figure it out. Is there a way to have thisFile.txt in one folder and copy the file to another folder? TIA Larry ___ 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
Re: How To: Delete columns of data
I think you should not use @pData, just pData should be enough. You’re not using it to return the data but are modifying by splitting but not combining the data. regards, Chris Heidecker Op 5 sep. 2014, om 20:37 heeft Michael Doub miked...@gmail.com het volgende geschreven: just to complete your library, here is a function that will extract the listed column in the order that you specify but it does not modify the original data. -= Mike function extractColumns @pData,pColsToReturn,pDelim -- Extract specified columns from a table in order -- Syntax: extractColumns data,cols[,delim] -- data: Specifies the data to parse. -- cols: A comma separated list of columns or column ranges to be returned in order -- for example 2,7,5 -- or a accending column range: 3-5 -- of a decending column range: 5-3 -- or a combination 2,4-5,7,11-9 -- delim: Optional column separator for example , or | -- if unspecified, defaults to tab. -- based on a handler by Hugh Senior and Peter M. Brigham, Use-LC list -- requires getItem() if pColsToReturn = empty then return pData repeat for each item pCol in pColsToReturn if - is in pCol then put getItem(pCol,1,-) into firstColNbr put getItem(pCol,2,-) into lastColNbr if firstColNbr lastColNbr then repeat with i = firstColNbr to lastColNbr put i comma after pColsToReturnExpanded end repeat else repeat with i = firstColNbr down to lastColNbr put i comma after pColsToReturnExpanded end repeat end if else put pCol comma after pColsToReturnExpanded end if end repeat put char 1 to -2 of pColsToReturnExpanded into pColsToReturn if pDelim = empty then put tab into pDelim set the columnDelimiter to pDelim split pData by column put item 2 of extents(pData) into tMax repeat for each item n in pColsToReturn add 1 to x put pData[n] into rData[x] end repeat combine rData by column return rData end extractColumns On Sep 5, 2014, at 1:51 PM, Michael Doub miked...@gmail.com wrote: Here is an even more general version: function deleteColumns pData,pColsToDelete,pDelim -- delete specified columns from a table -- Syntax: deleteColumns data,cols[,delim] -- data: Specifies the data to parse. -- cols: A comma separated list of columns or column ranges to be removed, -- for example 2,5,7 -- or a column range: 3-5 -- or a combination 2,4-5,7,9-11, -- delim: Optional column separator for example , or | -- if unspecified, defaults to tab. -- based on a handler by Hugh Senior and Peter M. Brigham, Use-LC list -- requires getItem() if pColsToDelete = empty then return pData repeat for each item pCol in pColsToDelete if - is in pCol then put getItem(pCol,1,-) into firstColNbr put getItem(pCol,2,-) into lastColNbr repeat with i = firstColNbr to lastColNbr put i comma after pColsToDeleteExpanded end repeat else put pCol comma after pColsToDeleteExpanded end if end repeat put char 1 to -2 of pColsToDeleteExpanded into pColsToDelete if pDelim = empty then put tab into pDelim set the columnDelimiter to pDelim split pData by column put item 2 of extents(pData) into tMax repeat with n=1 to tMax if n is NOT among the items of pColsToDelete then add 1 to x put pData[n] into pData[x] end if end repeat repeat with n=x+1 to tMax delete local pData[n] end repeat combine pData by column return pData end deleteColumns function getItem tList,tIndex,tDelim -- returns item # tIndex of tList, given itemdelimiter = tDelim -- could just get item tIndex of tList in the calling handler but --then have to set and restore the itemDelimiter, so this is less hassle -- defaults to tDelim = comma if tDelim = empty then put comma into tDelim set the itemdelimiter to tDelim return item tIndex of tList end getItem On Sep 5, 2014, at 10:58 AM, Peter M. Brigham pmb...@gmail.com wrote: Peter M. Brigham ___ 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 ___ 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
Re: copying files
Hi Larry, You could use revCopyFile or e.g. put URL x into URL y. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 9/6/2014 00:00, la...@significantplanet.org wrote: Hello All, I need to copy some files from one folder to another in Windows. I have searched the dictionary and cannot figure it out. Is there a way to have thisFile.txt in one folder and copy the file to another folder? TIA Larry ___ 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
Swift externals
It sounds like Apples new programming language Swift is going to be used in LiveCode. Swift looks similar to a scripting language. Does anyone know when the official release of Swift is and will it be possible to incorporate it into older versions like Revolution? It looks like Swift would be a good way to write externals instead of Xcode 2.4 which is outdated. John Balgenorth ___ 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
Re: How To: Delete columns of data
Great! -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Sep 5, 2014, at 1:51 PM, Michael Doub wrote: Here is an even more general version: function deleteColumns pData,pColsToDelete,pDelim -- delete specified columns from a table -- Syntax: deleteColumns data,cols[,delim] -- data: Specifies the data to parse. -- cols: A comma separated list of columns or column ranges to be removed, -- for example 2,5,7 -- or a column range: 3-5 -- or a combination 2,4-5,7,9-11, -- delim: Optional column separator for example , or | -- if unspecified, defaults to tab. -- based on a handler by Hugh Senior and Peter M. Brigham, Use-LC list -- requires getItem() if pColsToDelete = empty then return pData repeat for each item pCol in pColsToDelete if - is in pCol then put getItem(pCol,1,-) into firstColNbr put getItem(pCol,2,-) into lastColNbr repeat with i = firstColNbr to lastColNbr put i comma after pColsToDeleteExpanded end repeat else put pCol comma after pColsToDeleteExpanded end if end repeat put char 1 to -2 of pColsToDeleteExpanded into pColsToDelete if pDelim = empty then put tab into pDelim set the columnDelimiter to pDelim split pData by column put item 2 of extents(pData) into tMax repeat with n=1 to tMax if n is NOT among the items of pColsToDelete then add 1 to x put pData[n] into pData[x] end if end repeat repeat with n=x+1 to tMax delete local pData[n] end repeat combine pData by column return pData end deleteColumns function getItem tList,tIndex,tDelim -- returns item # tIndex of tList, given itemdelimiter = tDelim -- could just get item tIndex of tList in the calling handler but --then have to set and restore the itemDelimiter, so this is less hassle -- defaults to tDelim = comma if tDelim = empty then put comma into tDelim set the itemdelimiter to tDelim return item tIndex of tList end getItem On Sep 5, 2014, at 10:58 AM, Peter M. Brigham pmb...@gmail.com wrote: Peter M. Brigham ___ 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
Re: Strange error uploading iOS app to Apple - Monte?
Hi I'm getting this error as well. Double checked for any quicktime references and have none. Tried uploading version created with 6.7RC1 without success. The only other thing that I suspect may be causing an issue is mergAV or mergMicrophone, both of which I use in the app. Monte? regards alex On 6/09/2014 5:39 am, Colin Holgate wrote: Make sure you’re on the RC1 from a week ago: http://downloads.livecode.com/livecode/ On Sep 5, 2014, at 12:35 PM, Chris Sheffield cmsheffi...@icloud.com wrote: No, but that’s a good idea. Hadn’t thought of it. Only bad thing is, my app shows some strange bugs when built with LC 6.7. But it might be worth a try just to see if it’ll upload to Apple. Thanks. On Sep 5, 2014, at 1:31 PM, Colin Holgate co...@verizon.net wrote: I wonder if iOS also doesn’t like QuickTime references now? Have you tried using LiveCode 6.7, to see if you still get the error? ___ 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
Re: How To: Delete columns of data
Great and greater! -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Sep 5, 2014, at 2:37 PM, Michael Doub wrote: just to complete your library, here is a function that will extract the listed column in the order that you specify but it does not modify the original data. -= Mike function extractColumns @pData,pColsToReturn,pDelim -- Extract specified columns from a table in order -- Syntax: extractColumns data,cols[,delim] -- data: Specifies the data to parse. -- cols: A comma separated list of columns or column ranges to be returned in order -- for example 2,7,5 -- or a accending column range: 3-5 -- of a decending column range: 5-3 -- or a combination 2,4-5,7,11-9 -- delim: Optional column separator for example , or | -- if unspecified, defaults to tab. -- based on a handler by Hugh Senior and Peter M. Brigham, Use-LC list -- requires getItem() if pColsToReturn = empty then return pData repeat for each item pCol in pColsToReturn if - is in pCol then put getItem(pCol,1,-) into firstColNbr put getItem(pCol,2,-) into lastColNbr if firstColNbr lastColNbr then repeat with i = firstColNbr to lastColNbr put i comma after pColsToReturnExpanded end repeat else repeat with i = firstColNbr down to lastColNbr put i comma after pColsToReturnExpanded end repeat end if else put pCol comma after pColsToReturnExpanded end if end repeat put char 1 to -2 of pColsToReturnExpanded into pColsToReturn if pDelim = empty then put tab into pDelim set the columnDelimiter to pDelim split pData by column put item 2 of extents(pData) into tMax repeat for each item n in pColsToReturn add 1 to x put pData[n] into rData[x] end repeat combine rData by column return rData end extractColumns On Sep 5, 2014, at 1:51 PM, Michael Doub miked...@gmail.com wrote: Here is an even more general version: function deleteColumns pData,pColsToDelete,pDelim -- delete specified columns from a table -- Syntax: deleteColumns data,cols[,delim] -- data: Specifies the data to parse. -- cols: A comma separated list of columns or column ranges to be removed, -- for example 2,5,7 -- or a column range: 3-5 -- or a combination 2,4-5,7,9-11, -- delim: Optional column separator for example , or | -- if unspecified, defaults to tab. -- based on a handler by Hugh Senior and Peter M. Brigham, Use-LC list -- requires getItem() if pColsToDelete = empty then return pData repeat for each item pCol in pColsToDelete if - is in pCol then put getItem(pCol,1,-) into firstColNbr put getItem(pCol,2,-) into lastColNbr repeat with i = firstColNbr to lastColNbr put i comma after pColsToDeleteExpanded end repeat else put pCol comma after pColsToDeleteExpanded end if end repeat put char 1 to -2 of pColsToDeleteExpanded into pColsToDelete if pDelim = empty then put tab into pDelim set the columnDelimiter to pDelim split pData by column put item 2 of extents(pData) into tMax repeat with n=1 to tMax if n is NOT among the items of pColsToDelete then add 1 to x put pData[n] into pData[x] end if end repeat repeat with n=x+1 to tMax delete local pData[n] end repeat combine pData by column return pData end deleteColumns function getItem tList,tIndex,tDelim -- returns item # tIndex of tList, given itemdelimiter = tDelim -- could just get item tIndex of tList in the calling handler but --then have to set and restore the itemDelimiter, so this is less hassle -- defaults to tDelim = comma if tDelim = empty then put comma into tDelim set the itemdelimiter to tDelim return item tIndex of tList end getItem On Sep 5, 2014, at 10:58 AM, Peter M. Brigham pmb...@gmail.com wrote: Peter M. Brigham ___ 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 ___ 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
Re: How To: Delete columns of data
Yes. You split pData, which will alter the original table, and you don't restore it. Don't reference the parameter. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Sep 5, 2014, at 6:02 PM, Chris Heidecker wrote: I think you should not use @pData, just pData should be enough. You’re not using it to return the data but are modifying by splitting but not combining the data. regards, Chris Heidecker Op 5 sep. 2014, om 20:37 heeft Michael Doub miked...@gmail.com het volgende geschreven: just to complete your library, here is a function that will extract the listed column in the order that you specify but it does not modify the original data. -= Mike function extractColumns @pData,pColsToReturn,pDelim -- Extract specified columns from a table in order -- Syntax: extractColumns data,cols[,delim] -- data: Specifies the data to parse. -- cols: A comma separated list of columns or column ranges to be returned in order -- for example 2,7,5 -- or a accending column range: 3-5 -- of a decending column range: 5-3 -- or a combination 2,4-5,7,11-9 -- delim: Optional column separator for example , or | -- if unspecified, defaults to tab. -- based on a handler by Hugh Senior and Peter M. Brigham, Use-LC list -- requires getItem() if pColsToReturn = empty then return pData repeat for each item pCol in pColsToReturn if - is in pCol then put getItem(pCol,1,-) into firstColNbr put getItem(pCol,2,-) into lastColNbr if firstColNbr lastColNbr then repeat with i = firstColNbr to lastColNbr put i comma after pColsToReturnExpanded end repeat else repeat with i = firstColNbr down to lastColNbr put i comma after pColsToReturnExpanded end repeat end if else put pCol comma after pColsToReturnExpanded end if end repeat put char 1 to -2 of pColsToReturnExpanded into pColsToReturn if pDelim = empty then put tab into pDelim set the columnDelimiter to pDelim split pData by column put item 2 of extents(pData) into tMax repeat for each item n in pColsToReturn add 1 to x put pData[n] into rData[x] end repeat combine rData by column return rData end extractColumns On Sep 5, 2014, at 1:51 PM, Michael Doub miked...@gmail.com wrote: Here is an even more general version: function deleteColumns pData,pColsToDelete,pDelim -- delete specified columns from a table -- Syntax: deleteColumns data,cols[,delim] -- data: Specifies the data to parse. -- cols: A comma separated list of columns or column ranges to be removed, -- for example 2,5,7 -- or a column range: 3-5 -- or a combination 2,4-5,7,9-11, -- delim: Optional column separator for example , or | -- if unspecified, defaults to tab. -- based on a handler by Hugh Senior and Peter M. Brigham, Use-LC list -- requires getItem() if pColsToDelete = empty then return pData repeat for each item pCol in pColsToDelete if - is in pCol then put getItem(pCol,1,-) into firstColNbr put getItem(pCol,2,-) into lastColNbr repeat with i = firstColNbr to lastColNbr put i comma after pColsToDeleteExpanded end repeat else put pCol comma after pColsToDeleteExpanded end if end repeat put char 1 to -2 of pColsToDeleteExpanded into pColsToDelete if pDelim = empty then put tab into pDelim set the columnDelimiter to pDelim split pData by column put item 2 of extents(pData) into tMax repeat with n=1 to tMax if n is NOT among the items of pColsToDelete then add 1 to x put pData[n] into pData[x] end if end repeat repeat with n=x+1 to tMax delete local pData[n] end repeat combine pData by column return pData end deleteColumns function getItem tList,tIndex,tDelim -- returns item # tIndex of tList, given itemdelimiter = tDelim -- could just get item tIndex of tList in the calling handler but --then have to set and restore the itemDelimiter, so this is less hassle -- defaults to tDelim = comma if tDelim = empty then put comma into tDelim set the itemdelimiter to tDelim return item tIndex of tList end getItem On Sep 5, 2014, at 10:58 AM, Peter M. Brigham pmb...@gmail.com wrote: Peter M. Brigham ___ 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 ___ use-livecode
Re: How To: Delete columns of data
All 3 of you have posted some fantastic code! Thank you, Hugh, Peter and Mike. I can use it to solve some problems. John Balgenorth On Sep 5, 2014, at 4:09 PM, Peter M. Brigham pmb...@gmail.com wrote: Great! -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Sep 5, 2014, at 1:51 PM, Michael Doub wrote: Here is an even more general version: function deleteColumns pData,pColsToDelete,pDelim -- delete specified columns from a table -- Syntax: deleteColumns data,cols[,delim] -- data: Specifies the data to parse. -- cols: A comma separated list of columns or column ranges to be removed, -- for example 2,5,7 -- or a column range: 3-5 -- or a combination 2,4-5,7,9-11, -- delim: Optional column separator for example , or | -- if unspecified, defaults to tab. -- based on a handler by Hugh Senior and Peter M. Brigham, Use-LC list -- requires getItem() if pColsToDelete = empty then return pData repeat for each item pCol in pColsToDelete if - is in pCol then put getItem(pCol,1,-) into firstColNbr put getItem(pCol,2,-) into lastColNbr repeat with i = firstColNbr to lastColNbr put i comma after pColsToDeleteExpanded end repeat else put pCol comma after pColsToDeleteExpanded end if end repeat put char 1 to -2 of pColsToDeleteExpanded into pColsToDelete if pDelim = empty then put tab into pDelim set the columnDelimiter to pDelim split pData by column put item 2 of extents(pData) into tMax repeat with n=1 to tMax if n is NOT among the items of pColsToDelete then add 1 to x put pData[n] into pData[x] end if end repeat repeat with n=x+1 to tMax delete local pData[n] end repeat combine pData by column return pData end deleteColumns function getItem tList,tIndex,tDelim -- returns item # tIndex of tList, given itemdelimiter = tDelim -- could just get item tIndex of tList in the calling handler but --then have to set and restore the itemDelimiter, so this is less hassle -- defaults to tDelim = comma if tDelim = empty then put comma into tDelim set the itemdelimiter to tDelim return item tIndex of tList end getItem On Sep 5, 2014, at 10:58 AM, Peter M. Brigham pmb...@gmail.com wrote: Peter M. Brigham ___ 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 ___ 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
Re: How To: Delete columns of data
Yes. You split pData, which will alter the original table, and you don't restore it. Don't reference the parameter. Still great, however!! -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Sep 5, 2014, at 2:37 PM, Michael Doub wrote: just to complete your library, here is a function that will extract the listed column in the order that you specify but it does not modify the original data. -= Mike function extractColumns @pData,pColsToReturn,pDelim -- Extract specified columns from a table in order -- Syntax: extractColumns data,cols[,delim] -- data: Specifies the data to parse. -- cols: A comma separated list of columns or column ranges to be returned in order -- for example 2,7,5 -- or a accending column range: 3-5 -- of a decending column range: 5-3 -- or a combination 2,4-5,7,11-9 -- delim: Optional column separator for example , or | -- if unspecified, defaults to tab. -- based on a handler by Hugh Senior and Peter M. Brigham, Use-LC list -- requires getItem() if pColsToReturn = empty then return pData repeat for each item pCol in pColsToReturn if - is in pCol then put getItem(pCol,1,-) into firstColNbr put getItem(pCol,2,-) into lastColNbr if firstColNbr lastColNbr then repeat with i = firstColNbr to lastColNbr put i comma after pColsToReturnExpanded end repeat else repeat with i = firstColNbr down to lastColNbr put i comma after pColsToReturnExpanded end repeat end if else put pCol comma after pColsToReturnExpanded end if end repeat put char 1 to -2 of pColsToReturnExpanded into pColsToReturn if pDelim = empty then put tab into pDelim set the columnDelimiter to pDelim split pData by column put item 2 of extents(pData) into tMax repeat for each item n in pColsToReturn add 1 to x put pData[n] into rData[x] end repeat combine rData by column return rData end extractColumns On Sep 5, 2014, at 1:51 PM, Michael Doub miked...@gmail.com wrote: Here is an even more general version: function deleteColumns pData,pColsToDelete,pDelim -- delete specified columns from a table -- Syntax: deleteColumns data,cols[,delim] -- data: Specifies the data to parse. -- cols: A comma separated list of columns or column ranges to be removed, -- for example 2,5,7 -- or a column range: 3-5 -- or a combination 2,4-5,7,9-11, -- delim: Optional column separator for example , or | -- if unspecified, defaults to tab. -- based on a handler by Hugh Senior and Peter M. Brigham, Use-LC list -- requires getItem() if pColsToDelete = empty then return pData repeat for each item pCol in pColsToDelete if - is in pCol then put getItem(pCol,1,-) into firstColNbr put getItem(pCol,2,-) into lastColNbr repeat with i = firstColNbr to lastColNbr put i comma after pColsToDeleteExpanded end repeat else put pCol comma after pColsToDeleteExpanded end if end repeat put char 1 to -2 of pColsToDeleteExpanded into pColsToDelete if pDelim = empty then put tab into pDelim set the columnDelimiter to pDelim split pData by column put item 2 of extents(pData) into tMax repeat with n=1 to tMax if n is NOT among the items of pColsToDelete then add 1 to x put pData[n] into pData[x] end if end repeat repeat with n=x+1 to tMax delete local pData[n] end repeat combine pData by column return pData end deleteColumns function getItem tList,tIndex,tDelim -- returns item # tIndex of tList, given itemdelimiter = tDelim -- could just get item tIndex of tList in the calling handler but --then have to set and restore the itemDelimiter, so this is less hassle -- defaults to tDelim = comma if tDelim = empty then put comma into tDelim set the itemdelimiter to tDelim return item tIndex of tList end getItem On Sep 5, 2014, at 10:58 AM, Peter M. Brigham pmb...@gmail.com wrote: Peter M. Brigham ___ 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 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
Re: copying files
On Sat, Sep 6, 2014 at 6:00 AM, la...@significantplanet.org wrote: I need to copy some files from one folder to another in Windows. I have searched the dictionary and cannot figure it out. I opened the Dictonary, typed 'move' into the search field and found 'revMoveFolder'. Reading that entry, at the bottom is a User Note by Rodney that says: to move a file see 'rename'. So I typed 'rename' in the search field and under that entry it says: Gives a file or folder a new name or moves it to a new location or both. ___ 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