Re: On the dangers of automated refactoring

2021-04-14 Thread Peter W A Wood via use-livecode
never used a unit > testing library. > > PS: How’s Red Lang going? :D > >> On 13 Apr 2021, at 12:02, Peter W A Wood via use-livecode >> wrote: >> >> Hi Andre >> >>> On 13 Apr 2021, at 18:05, Andre Garzia via use-livecode >>> wrote: &g

Re: On the dangers of automated refactoring

2021-04-13 Thread Peter W A Wood via use-livecode
Hi Andre > On 13 Apr 2021, at 18:05, Andre Garzia via use-livecode > wrote: > > We don’t even have unit testing libraries so that we can make sure our code > works as expected. I published a simple unit testing library on GitHub but it din’t get any traction - https://github.com/PeterWAWood/

Re: ...and a challenge

2019-10-05 Thread Peter W A Wood via use-livecode
Colin > On 6 Oct 2019, at 11:34, Colin Holgate via use-livecode > wrote: > > Pi is a reserved work, so I used pie. I haven’t seen this way of producing Pi > before, and in both JavaScript and LivceCode it seems to be instantaneous. I > think it’s a rewording of 4*(1-1/3+1/5-1/7+1/9…) … > se

Re: [OT] Working with Android devices

2018-09-14 Thread Peter W A Wood via use-livecode
Many thanks Jacque, Richard and Bob. ___ 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

[OT] Working with Android devices

2018-09-14 Thread Peter W A Wood via use-livecode
I have recently got an Android tablet and am seeking advice on how best to work with it in general, not so much with Livecode yet. My main machine is a Mac. I would like to be able to easily swap files with the Android tablet via wifi and to remotely login to it from the Mac. I am hoping that I

Re [OT] Snakey Problem

2018-08-13 Thread Peter W A Wood via use-livecode
Richmond I am no Python expert having only got over Pythonaphobia, which I contracted last century, in the last few months. The standard Python library, which is included in the distribution, includes the TKinter GUI library. When Python starts up, it doesn’t load many of the standard librarie

Re: Livecode Content Management System

2017-12-04 Thread Peter W A Wood via use-livecode
Andre > I am talking beyond the current HTML5 deployment (which I don't own a > license and can't play with) I thought that you can deploy to HTML5 with the community licence. The GPL wouldn’t put you off playing with it, would it? Peter ___ use-livec

Re: Call for Speakers 2018

2017-10-24 Thread Peter W A Wood via use-livecode
On 25 Oct 2017, at 09:34, Mark Wieder via use-livecode wrote: > That sounds like the last nail in the coffin for the actual conferences. Sounds like a great opportunity for you to launch Mark Wieder Event Management Inc. ;-) Peter ___ use-livecode

Re: CouchDB, DayBed, etc.

2017-08-23 Thread Peter W A Wood via use-livecode
Alex > On 23 Aug 2017, at 22:28, Alex Tweedly via use-livecode > wrote: > > With the exception of a couple of things that basically scraped data off some > web pages, every app I've done in the last couple of years (all for personal > use by myself or friends - I'm a hobbyist) have shared on

Re: First 1000 characters without loop?

2017-06-22 Thread Peter W A Wood via use-livecode
Richard > How can we know which is in use for a given string? > > Suppose I wanted to process a lot of text, so performance is critical. Using > bytes would be optimal, since any chunk type or even Unicode characters may > vary in length. > > So if I wanted to create an index of byte offsets i

Re: Kognition Beta Test - call for volunteers

2017-04-28 Thread Peter W A Wood via use-livecode
Dear Kevin First, congratulations on reaching Beta stage of Kognition. Your description on if it is very intriguing. I think I can offer you an interesting beta test environment. At the moment, I have three primary projects (and a number of smaller ones), the data for each is stored in divers

Re: Installing LiveCode Server on a Microsoft Azure Bitnami LAMP stack

2016-11-24 Thread Peter W A Wood
Dave > On 24 Nov 2016, at 19:46, Dave Kilroy wrote: > > Hi all > > I’ve contracted a smashing guy with great server experience but who is new to > LiveCode install LiveCode Server on a Microsoft Azure Bitnami LAMP stack for > me - and it’s great working with someone who knows what they’re doi

Re: Practical TDD in LiveCode

2016-11-04 Thread Peter W A Wood
Richard > On 5 Nov 2016, at 01:51, Richard Gaskin wrote: > > One of many interesting discussions in our local LC User Group meeting last > night was from a relative newcomer who asked about TDD support. > > I was able to tell him we have an assert command, and that many developers > have a wi

Re: LC8 - Stumbling into JSON

2016-06-13 Thread Peter W A Wood
Mark > On 14 Jun 2016, at 07:19, Mark Wieder wrote: > > And just FYI, for comparison the xml translation of that would be > > > >18.75 >kg/m@2 > > >2 >75 > > > Wouldn’t an XML purist come up with the following, making it much more time consuming to process?

Re: Daft "text Editor" question

2016-05-18 Thread Peter W A Wood
Richmond > On 18 May 2016, at 18:03, RM wrote: > > Does anyone know of a word-processing type program that can open .rev and > .livecode > files so that one can see ALL the scripts of ALL the objects in one long > document? You can open them and read the scripts in BBEdit under OS X. I would

Re: Getting text into a Livecode field

2016-05-08 Thread Peter W A Wood
Richmond > Thanks for that, although a single line 'thing' does > not "Do for me" what the previous field did. > > R. Having to type titles of buttons and text of labels and fields of GUI objects into a contents property in a separate window is this issue to me. I find it counter intuitive. Ev

Re: Getting text into a Livecode field

2016-05-08 Thread Peter W A Wood
Richmond The screenshot you displays has the Text Styling tab visible. Did you try clicking on the little house icon ? Reagards Peter > On 8 May 2016, at 15:44, RM wrote: > > More: http://forums.livecode.com/viewtopic.php?f=6&t=27232 > > R. > > On 7.05.2016 21:38, RM wrote: >> So, I was m

Re: Revenue and the Open Source edition

2016-05-03 Thread Peter W A Wood
Monte > On 4 May 2016, at 13:20, Monte Goulding wrote: > > >> On 4 May 2016, at 3:12 PM, Peter W A Wood wrote: >> >> I think that you have missed out one way to contribute that would be very >> valuable to both the community and LiveCode. That is writing

Re: Revenue and the Open Source edition

2016-05-03 Thread Peter W A Wood
Monte I think that you have missed out one way to contribute that would be very valuable to both the community and LiveCode. That is writing automatically runnable tests. There is an automated test suite but it is kept under lock and key by LiveCode so that community members cannot contribute b

Re: Nelly the Elephant

2016-04-30 Thread Peter W A Wood
Richmond > On 30 Apr 2016, at 20:15, RM wrote: > > Thanks; I've been using that one for some time. > > Now I'm trying to work out the underlying Maths . . . > > Richmond. > Perhaps the algorithm on this page will help - https://en.wikipedia.org/wiki/UTF-16

Re: Nelly the Elephant

2016-04-30 Thread Peter W A Wood
Richmond > On 30 Apr 2016, at 19:47, RM wrote: > > soes anyone know of a desktop programs (Win/Lin/Mac) to calculate surrogate > pairs? Dorry I don’t so of a desktop program … but this webpage should work offline as long as you don’t refresh the page - http://www.russellcottrell.com/greek/ut

Re: [ANN} LiveCode List Processor - Version 1

2016-03-26 Thread Peter W A Wood
Mark > On 26 Mar 2016, at 23:13, Mark Wieder wrote: > > On 03/25/2016 11:21 PM, Peter W A Wood wrote: >> I have found time to complete version 1 of my LiveCode List Processor. You >> can find it at https://github.com/PeterWAWood/LiveCode-ListProcessor > > Nicely don

[ANN} LiveCode List Processor - Version 1

2016-03-25 Thread Peter W A Wood
I have found time to complete version 1 of my LiveCode List Processor. You can find it at https://github.com/PeterWAWood/LiveCode-ListProcessor Many of you may be wondering why I bothered to write it when LiveCode’s built-in list processing (of delimited strings) is very good. The main reason i

Re: Delete the first entry of an array.

2016-03-25 Thread Peter W A Wood
Thanks Kay > On 25 Mar 2016, at 17:22, Kay C Lan wrote: > > On Fri, Mar 25, 2016 at 3:33 PM, Peter W A Wood wrote: > >> delete pList[“numbers”] 1 ## Is this >> the correct syntax? > > No. Shouldn't it be: > > d

Re: Delete the first entry of an array.

2016-03-25 Thread Peter W A Wood
Peter Thanks for the suggestions. > On 25 Mar 2016, at 16:03, Peter TB Brett wrote: > > On 2016-03-25 08:33, Peter W A Wood wrote: >> I have an array which contains a second array. (myArray[“numbers”][]). >> ... >> automatically change the index of the remai

Delete the first entry of an array.

2016-03-25 Thread Peter W A Wood
I have an array which contains a second array. (myArray[“numbers”][]). The numbers array is a traditional array with elements 1..n. I want to remove the first element of the numbers array and shuffle all the others up. Is there a simple way of doing this in LiveCode (equivalent to the shift() fu

Re: Would love to see this blog with 1,001 Uses stay FRESH

2016-03-22 Thread Peter W A Wood
> On 22 Mar 2016, at 23:39, Richard Gaskin wrote: > > What is the process for submitting entries there? Send me an email with a description/story of the app and a few screenshots. I use them to write an entry. I chose to always write the entry myself to establish and maintain a consistent sty

Re: Would love to see this blog with 1,001 Uses stay FRESH

2016-03-21 Thread Peter W A Wood
Mark There are two problems with keeping the blog fresh. The first is that people are not submitting possible entries. The second is that I don’t have the time to actively maintain it. I’m not sure which of these is the chicken and which is the egg. If somebody has the time and motivation to

Re: LC Server Call Javascript Function?

2016-01-29 Thread Peter W A Wood
Scott > On 29 Jan 2016, at 18:30, Scott Rossi wrote: > > Can a LiveCode server script call a Javascript function? > > I want to write some text into a div in an LC server web page without > refreshing the entire page. AFAICT, generating any text from a LiveCode > server script will replace the

Re: cipherNames

2016-01-17 Thread Peter W A Wood
John > On 17 Jan 2016, at 19:30, John Dixon wrote: > > When asking for the cipher names that are available to liveCode... a long > list is produced.. In the case of aes 256 there are many variants as depicted > by three letters after 'aes'... What do they mean ?... Is it important to use > t

Re: More questions regarding Server oddities

2015-12-25 Thread Peter W A Wood
Lyn > On 26 Dec 2015, at 05:34, Lyn Teyla wrote: > 6.6.2 is not the latest version of LiveCode Server. > > The suggestion that I had put forth regarding the original issue was for Tim > to perform both of the following: > > 1. Use the "put header" line provided; I don’t think the problem is

Re: Livecode Server and script only stacks

2015-12-23 Thread Peter W A Wood
David > On 23 Dec 2015, at 17:49, David Bovill wrote: > > I'm looking to produce a better coding experience for revIgniter / Livecode > server, and I'd like to be able to use script only stacks on the server, so > I can test code locally as stacks, and easily keep it versioned in Github > and li

Re: Death of the Application Browser

2015-11-26 Thread Peter W A Wood
Monte > On 27 Nov 2015, at 06:29, Monte Goulding wrote: > > >> On 27 Nov 2015, at 9:24 am, Peter W A Wood wrote: >> >> Given Mark Waddingham’s recent view of LiveCode stacks and GPL, if the >> Application Browser is hived off to the community anybody using

Re: Death of the Application Browser

2015-11-26 Thread Peter W A Wood
> On 27 Nov 2015, at 04:26, Richmond wrote: > For exactly the same reason why the Application Browser is being hived off to > the "community", > because, while Lip-service is being paid to listening to the community . . . Given Mark Waddingham’s recent view of LiveCode stacks and GPL, if the

Re: [ANN] LiveCode Blog (mostly)

2015-10-30 Thread Peter W A Wood
Scott That is breathtaking. Thank you for sharing these wonderful insights. Regards Peter > On 30 Oct 2015, at 18:33, Scott Rossi wrote: > > Hi All: > > I started taking some past demos, articles, and techniques and put them > into a blog which you might find interesting. http://tactilemedi

Re: Forcing string comparisons, or When is "0" not 0?

2015-10-15 Thread Peter W A Wood
Mark > On 16 Oct 2015, at 07:26, Mark Waddingham wrote: > > I think that is a combination of precedence ('is really a' binds more tightly > than '+') and the bug Paul noticed with regards 'constants' which are > currently represented as strings internally except in specific cases due to a >

Re: Forcing string comparisons, or When is "0" not 0?

2015-10-15 Thread Peter W A Wood
Mark > On 16 Oct 2015, at 01:07, Mark Waddingham wrote: > > put "0" + 0 into tVar1 -- tVar is really a number >put "0" & 0 into tVar2 -- tVar is really a string >put tVar1 is really tVar2 -- false The current implementation appears to differ a little from the above. You need to speci

Re: [ANN] LiveCode List Processor

2015-10-13 Thread Peter W A Wood
Thanks for the explanation Monte > On 14 Oct 2015, at 08:33, Monte Goulding wrote: > > It’s a confusing topic. See the is really operator for more info. Under the > hood they are stored in the most efficient way they can be but it often > depends on the last operation: > > put “1” into t — is

Re: [ANN] LiveCode List Processor

2015-10-13 Thread Peter W A Wood
Richard > Richard Gaskin wrote: > > I've not used Rebol, but have read much of its documentation at various > points over the years. Carl Sassenrath is an interesting thinker, and his > language reflects some very unusual and intriguing concepts. > > Aside from MetaCard I've seen almost no o

Re: Is the assert command supported?

2015-10-13 Thread Peter W A Wood
Thanks Mark > On 13 Oct 2015, at 15:52, Mark Waddingham wrote: > > On 2015-10-13 08:59, Peter W A Wood wrote: >> The assert command appears to be included in LiveCode 8 but is not >> mentioned in either the dictionary or the user guide. All I’ve been >> able to find

Is the assert command supported?

2015-10-13 Thread Peter W A Wood
The assert command appears to be included in LiveCode 8 but is not mentioned in either the dictionary or the user guide. All I’ve been able to find about was in an article in RevUp - http://newsletters.livecode.com/february/issue166/newsletter1.html

Re: [ANN] LiveCode List Processor

2015-10-12 Thread Peter W A Wood
I’ve added a few more “easy” functions today - append, copy, empty?, head, head?, poke, tail and tail?. The List Processor’s API is documented at https://github.com/PeterWAWood/LiveCode-ListProcessor Regards Peter __

Re: [ANN] LiveCode List Processor

2015-10-12 Thread Peter W A Wood
Kay > On 13 Oct 2015, at 11:36, Kay C Lan wrote: > > On Tue, Oct 13, 2015 at 7:49 AM, Richard Gaskin > wrote: > >> >> Peter's original problem statement was: >> >> LiveCode chunking is great for handling lists but, as far >> as I can tell, is missing forward and backward navigation >>

Fwd: [ANN] LiveCode List Processor

2015-10-12 Thread Peter W A Wood
Bob > On 12 Oct 2015, at 23:29, Bob Sneidar > wrote: > > What I do is load all (or blocks) of the data all at once, put it into a data > grid, then navigate through the records in the data grid. I trap > selectionChanged in the datagrid to populate the detai

Re: [ANN] LiveCode List Processor

2015-10-12 Thread Peter W A Wood
Mark > On 13 Oct 2015, at 04:01, Mark Wieder wrote: > > Peter W A Wood writes: > >> Perhaps you would be kind enough to let me know of existing ways to >> achieve what this small library does before I spent more time developing it? > > Nicely done. I submit

Re: [ANN] LiveCode List Processor

2015-10-12 Thread Peter W A Wood
Mark > On 13 Oct 2015, at 01:58, Mark Waddingham wrote: > > On 2015-10-12 19:46, Richard Gaskin wrote: >> I've never seen question marks in handler names in any xTalk I've ever >> used, so I figured perhaps it might be something specific to Builder. > > It's a standard convention in some langua

Re: [ANN] LiveCode List Processor

2015-10-12 Thread Peter W A Wood
Mark > On 13 Oct 2015, at 01:32, Mark Waddingham wrote: > > On 2015-10-12 18:41, Richard Gaskin wrote: >> That looks like Builder rather than Script, no? > > No - this is definitely a LiveCode Script library... It implements a > data-type on top of an LCS array very much like the LCB 'List' ty

[ANN] LiveCode List Processor

2015-10-11 Thread Peter W A Wood
I decided to convert a small card-based database stack to a “proper” database using SQLite. I immediately missed the next/previous card navigation features which were ideal for browsing the small database. LiveCode chunking is great for handling lists but, as far as I can tell, is missing forwa

The 1001 Things To Do With LiveCode All Time Top Ten

2015-10-11 Thread Peter W A Wood
Even though I haven’t been able to spend much time on 1001 Things To Do With LiveCode recently, the blog is still getting an average of 80 visitors per day. I thought you might like to see the all-time top 10 pages visited. 3579Create a URL shortening service by John Craig 1004

Re: Script Local Functions?

2015-09-27 Thread Peter W A Wood
Many thanks Charle and Klaus. Regards Peter > On 27 Sep 2015, at 19:55, Charles Warwick > wrote: > > > Put the word private at the start of the function definition. i.e. > > private function myFunc > ... > end myFunc > > On 27 Sep 2015 at 21:51:13 AEST

Script Local Functions?

2015-09-27 Thread Peter W A Wood
Is there any way to define a function within a script that can only be called within that script? Peter ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences

Re: Is it safe to return an array from a function?

2015-09-21 Thread Peter W A Wood
il needed (copy-on-write), prior to 7 they > are copied immediately. > > So, yes, you can pass arrays around without worry. > > Mark. > > Sent from my iPhone > >> On 21 Sep 2015, at 03:28, Peter W A Wood wrote: >> >> I understand that arrays are pas

Re: Is it safe to return an array from a function?

2015-09-21 Thread Peter W A Wood
Dave > On 21 Sep 2015, at 16:15, Dave Kilroy wrote: > > Hi Peter > > Your scary posting made me test on LC8.0(db4), LC7.0.1(rc2) and LC 6.7.6 - > and I'm relieved to say that the arrays performed impeccably (returning '3' > in the final line) > > Can you give us some more info on your setup an

Is it safe to return an array from a function?

2015-09-20 Thread Peter W A Wood
I understand that arrays are passed by reference in LiveCode not by value. I assume that is also that case if you return an array from a function (i.e. the reference to the array is returned not its content). When I tried to return an array from a function, I found that not only you can do so bu

LiveCode 8 Global Jam

2015-09-19 Thread Peter W A Wood
After reading the announcements, I am looking forward to the LiveCode 8 Global Jam and helping to prepare LiveCode 8 for release through reporting bugs. As I’ve already reported a handful of bugs relating to LiveCode 8, I thought I’d take a look and see how many LiveCode 8 bugs there are in tota

Re: Silly conference survey

2015-09-08 Thread Peter W A Wood
> On 9 Sep 2015, at 04:01, Richmond wrote: > > To make my point I suggested the idea of a "where people stay" survey. > > Richmond. As the conference is unlikely to be conducted in any language other then English, the statistics of visitors to 1001 Things To Do With LiveCode could provide on

Re: Rectangle detection

2015-09-04 Thread Peter W A Wood
> On 5 Sep 2015, at 07:42, Scott Rossi wrote: > > Does the rectangle always appear in the same location in the image and is > it always the same dimensions? If the rectangle doesn’t always appear in the same location or is not always the same size, is the image always the same width? Peter

Re: LCB API's

2015-09-02 Thread Peter W A Wood
> On 2 Sep 2015, at 00:15, Klaus major-k wrote: > > Hi Peter, > >> Am 01.09.2015 um 15:23 schrieb Peter W A Wood : >> >> Peter >> >>> On 31 Aug 2015, at 23:40, Peter TB Brett wrote: >>> If you go into the dictionary in the IDE, ther

Re: LCB API's

2015-09-01 Thread Peter W A Wood
Peter > On 31 Aug 2015, at 23:40, Peter TB Brett wrote: > > If you go into the dictionary in the IDE, there's a drop down menu at the top > left. Not in LiveCode 8 DP 4 it seems. Regards Peter ___ use-livecode mailing list use-livecode@lists.ru

Re: Documentation [was: Re: v8 DP3]

2015-08-28 Thread Peter W A Wood
> On 28 Aug 2015, at 15:15, Richmond wrote: > > Well: as an almost complete newcomer to Github, I would be grateful if you > could outline a way to edit > the documents at > https://github.com/runrev/livecode-ide/tree/develop/Documentation/guides >

Re: JSON, URL-encode, and UTF-8

2015-08-21 Thread Peter W A Wood
Hi Charles > On 21 Aug 2015, at 16:07, Charles Warwick > wrote: > > HI Peter, > > I did some testing with Jacque and found that her LC7 was sending the wrong > content-type when posting to the PHP script. > > In case anyone is interested: > > It was using a content type of 'application/json

Re: JSON, URL-encode, and UTF-8

2015-08-21 Thread Peter W A Wood
> On 21 Aug 2015, at 10:59, Peter W A Wood wrote: > > Jacque > >> On 21 Aug 2015, at 10:13, J. Landman Gay > <mailto:jac...@hyperactivesw.com>> wrote: >> >> Here's a test. This posts just fine in LC 6.x but fails in 7.0.6 and 7.1rc1. >>

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread Peter W A Wood
Jacque > On 21 Aug 2015, at 11:32, J. Landman Gay wrote: > > I'd thought of that too. I'll ask the PHP guy to set up an http URL. I don’t think it is a problem with HTTPS. With Google and Stack overflow’s help, I found this website - http://httpbin.org - you can send a POST request to https:/

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread Peter W A Wood
Jacque > > This works fine in LiveCode 7.0.3. I’ll download 7.1RC1 and see if it works > there too. Apart from the difference in LiveCode versions, there is one other difference that may be significant. I am using HTTP on my machine not HTTPS. There have been some bugs in LiveCode 7 HTTPS sup

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread Peter W A Wood
Jacque > On 21 Aug 2015, at 10:13, J. Landman Gay wrote: > > Here's a test. This posts just fine in LC 6.x but fails in 7.0.6 and 7.1rc1. > > Make a field with this in it: > > [{"Meals":"Yes","Purpose":"Business"}] > > Now put this into a button or card script: > > constant kServerURL = "h

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread Peter W A Wood
Jacque > On 21 Aug 2015, at 07:35, J. Landman Gay wrote: > > Right. Works without header in 6, fails in 7. Thanks for looking at my file. > I wonder what would happen if I use the LC 6 libURL script in LC 7. Will my > unicode go all wonky? The file I sent you is in English but most of the time

Re: JSON, URL-encode, and UTF-8

2015-08-20 Thread Peter W A Wood
Jacque > On 21 Aug 2015, at 05:53, J. Landman Gay wrote: > > Here's what I do: > > set the httpHeaders to "content-type: application/json" > put convertToJSON() into tData -- produces valid JSON > put "json=" before tData > post tData to kServerURL You’re content is no longer valid JSON on

Re: Open Source Kickstarter Report Card (Updated)

2015-08-18 Thread Peter W A Wood
Richmond > Does "after LiveCode 8" mean "8.1" or does it mean "9 or maybe 10"? Because > that could make quite a difference. It means that I don’t think it is going to be in any of the LiveCode 8.xx releases based on my memory of snippets of information on this list and in the forums. (Which c

Re: Open Source Kickstarter Report Card (Updated)

2015-08-18 Thread Peter W A Wood
LIVECODE KICKSTARTER REPORT CARD -Version 4 The first thing to note is that LiveCode Ltd has open-sourced LiveCode under the GPL licence. It is freely accessible on Github. The second thing to note is that the majority of the Kickstarter rewards have been delivered. Only delivery of printed co

Re: Open Source Kickstarter Report Card (Updated)

2015-08-18 Thread Peter W A Wood
Matthias > On 18 Aug 2015, at 14:32, Matthias Rebbe | M-R-D > wrote: > > > > >> Am 18.08.2015 um 04:45 schrieb Peter W A Wood : >> >> There have been quite a few comments and clearly a number of different views >> amongst members of the com

Re: Open Source Kickstarter Report Card (Updated)

2015-08-17 Thread Peter W A Wood
Richard > On 18 Aug 2015, at 12:51, Richard Gaskin wrote: > > Peter W A Wood wrote: > > > I interpreted this clause from the latest Windows Store App Developer > > Agreement, to mean that GPL software cannot be sold via the App Store: > > > > d. FOSS Sof

Re: Open Source Kickstarter Report Card

2015-08-17 Thread Peter W A Wood
Richard > On 18 Aug 2015, at 11:36, Richard Gaskin wrote: > > Peter W A Wood wrote: > > >> On 18 Aug 2015, at 08:13, Richard Gaskin wrote: > >> > >> What usability standards do you feel are not well reflected in the > >> current IDE, and

Re: Open Source Kickstarter Report Card (Updated)

2015-08-17 Thread Peter W A Wood
> On 18 Aug 2015, at 11:29, Richard Gaskin wrote: > > Peter W A Wood wrote: > > > After all, it looks to me that you cannot sell GPL licensed software > > through the Windows App Store > > I couldn't find anything definitive on that. I did find some old

Re: Open Source Kickstarter Report Card (Updated)

2015-08-17 Thread Peter W A Wood
Monte > On 18 Aug 2015, at 10:52, Monte Goulding wrote: > > >> On 18 Aug 2015, at 12:45 pm, Peter W A Wood wrote: >> >> PS Does anybody still think it is worth LiveCode supporting Windows 8 Phone? > > Nope… I presume the goal will be bumped to Windows 10??

Re: Open Source Kickstarter Report Card

2015-08-17 Thread Peter W A Wood
Richard > On 18 Aug 2015, at 08:13, Richard Gaskin wrote: > > What usability standards do you feel are not well reflected in the current > IDE, and if Kevin made you IDE Czar tomorrow what are the first three things > you'd do to fix that? 1. Intelligent Code Completion (like intelliSense) 2.

Re: Open Source Kickstarter Report Card (Updated)

2015-08-17 Thread Peter W A Wood
There have been quite a few comments and clearly a number of different views amongst members of the community. I would like to add my perspective. The LiveCode Kickstarter campaign was very unusual in that the LiveCode could fulfil all of the rewards without actually having to complete the proje

Re: Open Source Kickstarter Report Card (Updated)

2015-08-17 Thread Peter W A Wood
I forgot to add the most important promise … LiveCode being open-sourced … as kindly pointed out by Jacque Landman Gay. LIVECODE KICKSTARTER REPORT CARD The first thing to note is that all the Kickstarter rewards have been delivered. The second thing to note is that LiveCode has open-sourced Li

Open Source Kickstarter Report Card (Updated)

2015-08-17 Thread Peter W A Wood
I have updated my KickStarter report card thanks to the information about the new player for Windows being planned for LiveCode 8.0 that Tom Bodine kindly provided. As I understand, the phrase “new visual editor” refers to the new IDE. LIVECODE KICKSTARTER REPORT CARD The first thing to note i

Open Source Kickstarter Report Card

2015-08-14 Thread Peter W A Wood
Following LiveCode’s announcement of its Business Application Framework, there has been quite a few comments regarding the fulfilment of promises made during the Kickstarter open source campaign. It’s a long time since the campaign and it is easy to get an incorrect perception. So I thought that

Re: URL works in IDE, browser but not on Livecode Server

2015-08-04 Thread Peter W A Wood
It may be this bug - http://quality.runrev.com/show_bug.cgi?id=15162 - depending on which version of LiveCode server you are running. > On 5 Aug 2015, at 13:43, David Bovill wrote: > > The following url works in the browser, in script and in t

Re: Livecode and UTF8

2015-07-29 Thread Peter W A Wood
Simon I did not reply sooner as I’m not such an experienced LiveCoder. Also, I am concentrating on learning LiveCode versions from 7 onwards. Handling Unicode is much, much easier in those versions. In the code you posted here, you appear to have used uniDecode where you needed to use uniEnco

Re: Thousands Separators

2015-07-27 Thread Peter W A Wood
Mike > On 27 Jul 2015, at 19:14, Michael Doub wrote: > > Peter, there is a function in the MasterLibrary that does this for you. Look > in the Text section. > > https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 > > Regards, > Mike The MasterLibrary is impressive, I sho

Re: Thousands Separators

2015-07-27 Thread Peter W A Wood
> > > On 7/27/15 7:12 AM, Peter W A Wood wrote: >> I would like to display numbers with a thousand separator. I searched the >> dictionary and the user guide but couldn’t find any mention of inserting a >> thousand separator into a number. Is it

Thousands Separators

2015-07-27 Thread Peter W A Wood
I would like to display numbers with a thousand separator. I searched the dictionary and the user guide but couldn’t find any mention of inserting a thousand separator into a number. Is it a case of do it yourself? Regards Peter ___ use-livecode maili

Re: Programatically complete an answer dialog ?

2015-07-21 Thread Peter W A Wood
cks" to me in 1 > second > answer information "HI!" > put the mystacks of this stack > end mouseUp > > On Tue, Jul 21, 2015 at 4:36 PM, Peter W A Wood > wrote: > >> Bob >> >>> On 21 Jul 2015, at 22:33, Bob Sneidar >> wrote: >>&g

Re: Programatically complete an answer dialog ?

2015-07-21 Thread Peter W A Wood
Bob > On 21 Jul 2015, at 22:33, Bob Sneidar wrote: > > Unless you get into the answer dialog stack and play around or craft your > own, I don’t think so. The problem is, the answer dialog is a modal stack > itself and no processing happens until you dismiss it. > > Bob S I found it easy to

Re: [Ben] HTML5 preloading suggestion...

2015-07-15 Thread Peter W A Wood
By checking with Firebug, it seems the calculator “page” initially makes 67 HTTP GET requests and then another 3 HTTP requests before the calculator is displayed. One of these subsequent requests is http://livecode.com/demo/html5/calculator/standalone-community.html.mem

Programatically complete an answer dialog ?

2015-07-14 Thread Peter W A Wood
I have a stack which requests the user to enter some text into an answer dialog. I am trying to test that stack from another stack. Is there a way to programatically enter text into an answer dialog? Another way of asking this question is: Is an answer dialog simply a stack? If so, does anybody

Re: Memory Management in LiveCode

2015-07-14 Thread Peter W A Wood
Many thanks Peter. That's a big plus for LiveCode in the mobile market. I wonder why it isn't stressed on the website? Regards Peter Peter TB Brett wrote: >On 2015-07-14 01:35, Peter W A Wood wrote: >> The User Guide states the Memory Management is automatic but doesn’t

Memory Management in LiveCode

2015-07-13 Thread Peter W A Wood
The User Guide states the Memory Management is automatic but doesn’t explain how the engine actually manages memory. Does anybody know if it uses a type of reference counting or a garbage collector? Regards Peter ___ use-livecode mailing list use-li

Re: Best way to check if a Field is a label?

2015-07-08 Thread Peter W A Wood
That’s a good tip. Thanks Mike > On 8 Jul 2015, at 21:11, Mike Bonner wrote: > > I name my fields with a trailing L or F which lets you do the same thing as > using a custom prop. > > repeat with i = 1 to the number of fields of this card > if (the last char of the short name of field i

Re: Best way to check if a Field is a label?

2015-07-08 Thread Peter W A Wood
Thanks, Hugh I’m trying to find the best way to clear all the fields in which data can be entered on a card. At the moment I use this code: repeat with y = 1 to the number of fields of this card if not the lockText of Field y then put empty into Field y end if end repeat It work

Best way to check if a Field is a label?

2015-07-08 Thread Peter W A Wood
At the moment I’m checking the lockText property to distinguish a Label Field. Is there a better or more reliable way? Regards Peter ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage

Re: Problem with arrayDecode

2015-07-05 Thread Peter W A Wood
Thanks Alex. That fixed it. Regards Peter > On 5 Jul 2015, at 19:09, Alex Tweedly wrote: > > You would need to use a binary file (e.g. "binfile:temp.txt") for the > result of arrayencode > (so I might therefore chose different extension :-) > > Alex. >

Problem with arrayDecode

2015-07-05 Thread Peter W A Wood
I am having problems with encoding and decoding an array when I save the encoded data to a file and read it back. Here is a simple LiveCode Server script that shows the issue: #coding:utf-8 set the outputLineEndings to “lf” # OS X s

Re: Is there a shorter way?

2015-07-02 Thread Peter W A Wood
ote: > > On Thu, Jul 2, 2015 at 12:52 PM, Peter W A Wood > wrote: > >> >> Is there a shorter way of achieving this? >> > > The smart-alec answer would be text file or as you seem to be referring to > a large amount of data, a database ;-) > > In the Mo

Re: Is there a shorter way?

2015-07-02 Thread Peter W A Wood
> On 2 Jul 2015, at 12:57, Scott Rossi wrote: > > Is there a reason you can't use the long id of the field? > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > Thanks for the hint Scott. ___ use-livecode mailing list u

Re: Is there a shorter way?

2015-07-02 Thread Peter W A Wood
> On 2 Jul 2015, at 15:12, Mark Schonewille > wrote: > > Hi Peter, > > // put the long id into a variable > put "First Group" into Field "Company" of card "CompanyData" of stack > "ShareAnalysis" into myLongID > put the text of myLongID into mySomeText > send "textChanged" to myLongID > set t

Is there a shorter way?

2015-07-01 Thread Peter W A Wood
I’m accessing objects in another stack with code like this: put "First Group" into Field "Company" of card "CompanyData" of stack "ShareAnalysis" send textChanged to Field "Company" of card "CompanyData" of stack “ShareAnalysis" Is there a shorter way of achieving this? Even

Re: Card colo(u)rs

2015-06-28 Thread Peter W A Wood
> On 29 Jun 2015, at 07:27, Richard Gaskin wrote: > > If they're taking bug reports on that early build it may be worth reporting. LiveCode are accepting and actioning bug reports on LiveCode 8.0 DP 2 > Can you reproduce it in the current version? Yes > If so, how? 1. Open a new main stack

  1   2   3   4   >