ChartMaker and LiveCode 8

2015-11-17 Thread FlexibleLearning.com
Has anyone had any issues applying ChartMaker in LiveCode 8? Just wanting to make sure it remains stable for everyone in these fast-changing times. Hugh Senior FLCo ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to su

Re: Beyond POSIX time

2016-01-09 Thread FlexibleLearning.com
> I get the date you first put in. Tried several, all the way back to the battle of > Hastings. All good The negative seconds do the math as well as ordinary > ones. If you got a Saturday for 14 October 1066, all good. Otherwise the algorithm is not accounting for the 1582 or 1752 calendar change

Love, love, love the idea of a business plan tool kit in LiveCode with SLIDERS

2016-01-25 Thread FlexibleLearning.com
Mark Rauterkus wrote > I really love the idea of a set of sliders that can help to set a number of units > (widgets, costs, sales, expenses) and have them display numbers and > projections in other line items. > > For example, > > If I have 200 kids in our water polo summer camp, we'll need 35

[ANN] Free update: ChartMaker 3.0 Build 67

2016-02-08 Thread FlexibleLearning.com
I am pleased to announce a free update for ChartMaker for LiveCode. This release also includes improvements made in internal Build 66. LiveCode 8: ChartMaker should be entirely LC8-compatible. If you experience any problems, please report issues so they can be addressed. Full release notes and th

RE: Free BasicClock desktop clock for OSX

2016-02-15 Thread FlexibleLearning.com
Nice one, Howard. Hopefully your BasicClock will soon be available for other platforms also. 1. Free BasicClock You can see the features of BasicClock here: BasicClock Read Me.pdf http://designeq.com/deq/software/Welcome%20to%20BasicClock%20V2.04.pdf and download it here: BasicClock V2.04.zip ht

Re: OT(ish): Selling software downloads - sales tax?

2016-03-19 Thread FlexibleLearning.com
The key word in the new rules for EU VAT is "automated". If your software or a serial key is manually issued by email, the sale is not automated and not within the scope of the regulations... https://whitehall-admin.publishing.service.gov.uk/government/uploads/system/ uploads/attachment_data/file/

Re: Installing metacard on linux - cmd line or?

2016-03-27 Thread FlexibleLearning.com
MC runs fine on Windows 10, all versions that I use from v4.5 to v7 (except the MC properties palette under v7 can sometimes cause problems). Can't help you with Linux Hugh Senior (Old Guard) FLCo > Oddly enough I've just got MetaCard 2.5 running on Xubuntu 15.10 64 bit! > > Mind you, having do

Re: Cubist's first bug report

2016-06-05 Thread FlexibleLearning.com
This double-evaluation bug has existed since MC v4.2 (the earliest engine I have immediately to hand). [snip] on mouseUp put "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16" into myVar repeat 1000 add zero to any item of myVar end repeat put myVar end mouseUp [/snip] Hugh Senior FLCo

SelectedObjectChanged in LC8... Bug?

2016-06-14 Thread FlexibleLearning.com
When the "Browse" tool is selected in the UI, any selected objects are deselected and a SelectedObjectChanged message used to be sent. This is no longer the case in LC8. I have also tried trapping for a NewTool message, but this is similarly ignored. Any insights, or is this a bug? Hugh Senior F

Re: SelectedObjectChanged in LC8... Bug?

2016-06-18 Thread FlexibleLearning.com
Now submitted as Bug #17876 Hugh Senior FLCo > Hi Hugh, > > > FlexibleLearning.com wrote > > When the "Browse" tool is selected in the UI, any selected objects are > > deselected and a SelectedObjectChanged message used to be sent. This is > no > >

RE: Control? Object?

2016-06-19 Thread FlexibleLearning.com
To me the terms "control" and "object" are synonymous. When someone talks of "controls" I immediately assume they come from a C+ background, whereas if they refer to "objects" I feel more at home. On the other hand, "the number of controls" is standard syntax and "the number of objects" throws an

[ANN] FieldFormatter for LC8

2016-06-24 Thread FlexibleLearning.com
A free update for the IDE extension "FieldFormatter" has been released. The update includes a fix to accommodate a bug in the LC8 IDE so choosing the Browse tool updates the palette as expected. Click the orange header icon in your FieldFormatter palette to check for updates. Full product details

Re: the detailed folders returning incorrect data

2016-07-02 Thread FlexibleLearning.com
As Paul Dupuis pointed out, SpecialFolderPath() also accepts numbers. These are for Win32... specialFolderPath (2) : Programs specialFolderPath (5) : Documents specialFolderPath (6) : Favorites specialFolderPath (7) : startup specialFolderPath (8) : Recent specialFolderPath (9) : SendTo specialFol

RE: Learning LCB: what's the reading list?

2016-07-03 Thread FlexibleLearning.com
David Bovill wrote: > What would you add to a reading list - preferably available online to give > people the required background knowledge for being able to build things > with LCB? I'm especially interested in learning how to wrap the > functionality of existing libraries - so what should we re

RE: screen capture from LC as video?

2016-07-11 Thread FlexibleLearning.com
On Win32, try Microsoft Expression. The free version does all you describe. Hugh Senior FLCo > Message: 4 > Date: Mon, 11 Jul 2016 02:45:36 + > From: Terry Judd > To: How to use LiveCode > Subject: screen capture from LC as video? > Message-ID: > Content-Type: text/plain; charset="Windows

Re: screen capture from LC as video?

2016-07-11 Thread FlexibleLearning.com
ing at? > > Regards, > > Terry... > > On 12/07/2016 1:29 am, "use-livecode on behalf of FlexibleLearning.com" > ad...@flexiblelearning.com> wrote: > > >On Win32, try Microsoft Expression. The free version doe

[ANN] DatePicker for LiveCode LC8 update

2016-07-22 Thread FlexibleLearning.com
DatePicker for LiveCode A free update has been released that is LC8 compatible. You can download Build 33 from... www.FlexibleLearning.com/datepicker and see the What's New page here... www.flexiblelearning.com/datepicker/versioning/whatsnew.htm Note that DatePicker is not compatible with th

Re: looking for an alternative to KAGI, because KAGI ceased operations

2016-08-02 Thread FlexibleLearning.com
EU VAT is only due on AUTOMATED transactions. Communicating by email and attachments does NOT constitute "Digital Services"... https://www.gov.uk/government/uploads/system/uploads/attachment_data/file/41 5931/VAT_MOSS_Flow_chart_FSB_edit_V1_0.pdf If your product requires a key (i.e. they are buyi

Quartam Reports

2016-08-12 Thread FlexibleLearning.com
Is Jan Schenkel still doing Quartam Reports? Hugh Senior FLCo ___ 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/listinf

Re: vCard/vCal Parsing?

2016-09-10 Thread FlexibleLearning.com
Peter Reid wrote: > Has anyone got a library for parsing vCard and vCal files? I found some forum > chat from 2006 about a library called vObjectPackage developed by Andre > Garzia but the links to this are dead. Does anyone know whether this is still > available or whether there are alternative

RE: Datagrid : showing a row by auto scrolling

2014-11-13 Thread FlexibleLearning.com
I would do this manually by setting the vScroll based on (LineNumber * effective textHeight) - (6 *effective LineHeight)... on setScroll pLineNumber put the effective textHeight of fld 1 into tLineHeight set the hilitedLines of fld "Family" to pLineNumber set the scroll of fld 1 to (pL

Re: hair-pulling frustration

2014-11-13 Thread FlexibleLearning.com
If this were a realistic option, Edinburgh would have permanent testing staff. The language, syntax and interaction permutations are simply too vast for any automated testing whether by machine or human. As Richard G says, ensure your own software is robust with each new version and log any issues.

Re: how are variables passed from functions?

2014-11-16 Thread FlexibleLearning.com
Agreed... Leave the existing behaviour alone. It is not a bug but an undocumented feature. And yes, it will break at least one of my products if changed! This issue has already been discussed some time ago. It was determined to leave the behaviour unchanged for both flexibility and backwards comp

[REQ] ControlManager for LiveCode

2014-11-20 Thread FlexibleLearning.com
ControlManager for LiveCode A Community Compatible IDE enhancement is slated for release in December. For a sneak preview (Windows screenshots, but cross-platform) www.flexiblelearning.com/controlmanager Testers are requested - for nit-picking in order to maintain high standards. If inter

fieldtrip (was re: Can standalones give users...)

2014-11-22 Thread FlexibleLearning.com
Interesting. I was one of the up-front crowd-funding contributors to this, but then heard no more about it. I had assumed the project had gone belly up. Curry... Is it ready for prime time now? How do we get our copy? Hugh Senior FLCo > Tom, > > i do not know if this is possible. > > But the

Button is behavior

2014-11-27 Thread FlexibleLearning.com
Is there a way to identify whether a button is used as a behavior? e.g. the isBehavior of btn 1 Just asking. Hugh Senior FLCo ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: Button is behavior

2014-11-27 Thread FlexibleLearning.com
Thought as much, Mike. Only wondered if I had missed some new keyword among all the enhancements recently made by the mothereship. As the years advance I find I miss more than I used to, and what don't miss I forget! Hugh Senior FLCo Mike Bonner wrote: Was curious and tried it. 4000 controls

Re: Button is behavior

2014-11-28 Thread FlexibleLearning.com
It's a supplementary idea for the upcoming Control Manager utility to show not only the style but the function of a button. More generally, behaviours are a bit like icons, although locating a behaviour source is easier than locating an image source! Hugh Senior FLCo Mike Bonner wrote > Mind i

Re: Button is behavior

2014-11-29 Thread FlexibleLearning.com
'Resolve image' is useful to know. However, the indexing solution to identify buttons used as behaviors is fine as far as it goes, but it will inevitable omit any behaviour buttons if any 'calling' objects are not currently loaded. As you say, behaviors can be set and changed dynamically, but then

[ANN] ControlManager for LiveCode

2014-12-01 Thread FlexibleLearning.com
ControlManager for LiveCode is now available, with full details here... www.flexibleLearning.com/controlmanager It is "LiveCode-Community compatible" and has been tested from v5.5.4 (minimum required), through v6 to v7. What it aims to provide... - It is designed to be simple to use and provide

[ANN] ControlManager for LiveCode

2014-12-02 Thread FlexibleLearning.com
Thank you, Tom! Hugh Senior FLCo > Congratulations, Hugh. This looks like it will be a great productivity boost > to my work. I'm in. > -- Tom Bodine ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsu

Re: [ANN] ControlManager for LiveCode

2014-12-02 Thread FlexibleLearning.com
It's a bit awkward providing a demo or trial version as ControlManager is a Community-compatible product. A video can certainly be done, once I find a replacement screen grabber. Windows trashed my last one so I do not have the technology at the moment. Hugh Senior FLCo www.flexiblelearning.com/c

RE: How to open a second window w/o disturbing calling stack

2014-12-03 Thread FlexibleLearning.com
Lock messages Go cd 1 of stack "mySubStack" as palette Unlock messages Or have I misunderstood? Hugh Senior FLCo > Folks: > I want to open a second window in my app. The window in the calling stack is > the first card of a substack named ?myCallingSubstack?. I want to go to the > first card of

[ANN] ControlManager for LiveCode, in-store now

2014-12-05 Thread FlexibleLearning.com
ControlManager for Livecode is now available in-store... https://livecode.com/store/marketplace/controlManager-1-0-0 as well as direct from www.flexibleLearning.com/controlmanager Thank you for all the positive feedback. And ControlManager is improving all the time. Just added... . Embedded

[ANN] ControlManager for LiveCode, in-store now

2014-12-06 Thread FlexibleLearning.com
Hi Sean, Thank you, Sean. Suppressing messages in the IDE simply anaesthetises the palette. Which is what one would expect since it is message-driven. Feel free to write to me off-list if you have any problems, though. Hugh Senior FLCo Sean Cole wrote... Me to :) Well done Hugh. (Turning o

[ANN] ControlManager video

2014-12-22 Thread FlexibleLearning.com
As requested, a short introductory video of ControlManager in action... http://youtu.be/QtrhtSXCsfk Further details and purchasing options at... www.FlexibleLearning.com/controlmanager or https://livecode.com/store/marketplace/controlManager-1-0-0 Hugh Senior FLCo

Re: [ANN] ControlManager video

2014-12-23 Thread FlexibleLearning.com
Thank you, Gerry! Build 63 has just been sent to all purchasers as a free update. If any purchasers have not received it, do please let me know. Video at http://youtu.be/QtrhtSXCsfk Further details and purchasing options at www.FlexibleLearning.com/controlmanager or https://livecode.com/store/ma

RE: 7.0.1 community stable

2014-12-23 Thread FlexibleLearning.com
Hi Mike Don't know if related, but I got similar errors for 6.7.3rc3 after an automatic Win7 system update (something about invalid permissions). Re-started the computer then tried again successfully. Alternatively, Edinburgh inadvertently packed 7.0.1 as 64-bit exe in a 32-bit installer. Best

[ANN] Free: Google-style typing filter for LiveCode

2014-12-23 Thread FlexibleLearning.com
Over the years, people keep asking about how to implement 'display as you type' widget thang. So as a Christmas gift to you all, TypingFilter for LiveCode is fast, flexible and FREE. The download with example implementation and screenshots are available here... www.FlexibleLearning.com/typingfilt

Re: [ANN] Free: Google-style typing filter for LiveCode

2014-12-24 Thread FlexibleLearning.com
Richard TypingFilter for LiveCode is free as in "no charge, gratis, for nothing, a gift, a present, complimentary"... www.FlexibleLearning.com/typingfilter Hugh Senior FLCo On Tue, Dec 23, 2014 at 5:36 AM, FlexibleLearning.com wrote: > So as a Christmas gift to you all, Typ

[OT] Re-factoring

2014-12-29 Thread FlexibleLearning.com
Passing this on... http://www.infoq.com/articles/natural-course-refactoring Okay, the example is not LC but the principles apply. Something to aspire to, anyway! Hugh Senior FLCo ___ use-livecode mailing list use-livecode@lists.runrev.com Please visi

[ANN] Free: Google-style typing filter for LiveCode

2014-12-30 Thread FlexibleLearning.com
Thank you, Bob. www.FlexibleLearning.com/typingfilter Hugh Senior FLCo On Mon, 29 Dec 2014 23:39:29 +, Bob Sneidar wrote: I was having the same epiphany. I did this with a local mySQL database a little while back and it worked a peach. I had a little delay timer going so that if the user

Re: Project Browser vs App Browser (was "script scope variables inexplicably becoming unset")

2015-01-05 Thread FlexibleLearning.com
Like Bill, I faced the same issue with ControlManager. I also decided to release it as Community Compatible so it works on all versions of LiveCode and included a video... www.FlexibleLearning.com/controlmanager www.youtube.com/watch?v=QtrhtSXCsfk I think most folks are only interested in whethe

[ATT] Derek Henderson, South Africa

2015-01-08 Thread FlexibleLearning.com
Derek, I have tried twice to reply to your email. Each one has bounced back with "Recipient address rejected: User unknown in local recipient table". I am assuming you want to use flcDatePicker without the supplied flcDatePicker Utility stack... You can "start using stack flcDatePicker" if the s

Re: Fields Have Labels

2015-01-13 Thread FlexibleLearning.com
TitleWidth (LabelWidth) already exists for buttons... would including the property for field objects be useful? Hugh Senior FLCo ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: Fields Have Labels

2015-01-13 Thread FlexibleLearning.com
Hi Bill, You should contact Pete Haworth if you have problems with lcstackbrowser... mine is ControlBrowser. Similar, but very different! With best regards, Hugh Senior FLCo Original message: Hugh, Just a "heads up" re your lcstackbrowser app. I found that it interferes with some of my code.

Re: [OT] I'm going to go live in a cave

2015-01-14 Thread FlexibleLearning.com
A good keyboard is like a good piano. I still use my original Gateway keyboard, c1995 vintage (remember them?). Never found a better one and still works as good as new. I did clean it once when I could no longer read some of the keys but it's back filthy again. Time for the next 10-year spring clea

[ANN] ControlManager build 70 released

2015-01-29 Thread FlexibleLearning.com
I am delighted to announce that an updated version of ControlManager is now available. You can find out more at www.FlexibleLearning.com/controlmanager (includes video) and at livecode.com/store/marketplace/controlManager-1-0-0 (now with lots of 5-star ratings... Thanks!) All registered users

Re: How to detect that user closed window

2015-02-05 Thread FlexibleLearning.com
The IDE can be easily suppressed with... on closeStackRequest lock messages save this stack pass closeStackRequest end closeStackRequest Hugh Senior FLCo > Bob Sneidar wrote: > > > Nope. You would think it does, but I have this in the stack script: > > > > on closeStackRequest > >

[ANN] Free update: ChartMaker 3.0 Build 63

2015-02-16 Thread FlexibleLearning.com
I am pleased to announce a free update for ChartMaker that is LC6.7 and LC7 compatible. Full release notes and the new release download are available here, including a free 30-day trial (or use your existing key to update): http://www.flexiblelearning.com/chartmaker/versioning/whatsnew.htm The d

ChartMaker update

2015-02-17 Thread FlexibleLearning.com
There was an error in the update issued yesterday afternoon. A replacement was issued yesterday evening (UK time). If you were quick off the mark yesterday, do please check you actually have the most recent version! Open the Utility and click the "Check for Updates" button, top right corner. My a

ChartMaker Build 64

2015-02-17 Thread FlexibleLearning.com
Something very wrong happened to the Build 63 uploads yesterday. All the fixes failed to stick... twice! Build 64 has just been uploaded which should now work as expected. If you have any problems, do please let me know. This is truly embarrassing. Hugh Senior FLCo Yesterday I wrote... There w

[RANT] Really annoying posts

2015-02-23 Thread FlexibleLearning.com
We are, I know, a forgiving lot and my apologies if this offends, but please don't waste everyone's time asking about something that you can frankly do yourself. It says more about your attitude to others than anything else. Bad: "Can I reference a png file?" Means: I'm too lazy to try it, so jus

Fast-tracking LiveCode for beginners

2015-03-12 Thread FlexibleLearning.com
I am looking for a means to fast-track a client into the world of LiveCode programming. Am considering Devin's "LiveCode University" course, and delivering it myself over a concentrated one week period for him in person. Any comments or other suggestions? Hugh Senior FLCo _

[JOB] SetupBuilder

2015-03-23 Thread FlexibleLearning.com
If anyone has experience of setupBuilder installer software or similar, please contact me off-list... I have an on-going job for you! Best regards Hugh Senior FLCo ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to su

Finding the source of a icon's image

2015-03-27 Thread FlexibleLearning.com
Can someone please remind me what the magic word is to locate the image source for icon/hilitedIcon etc? Have scoured the dictionary to no avail. e.g. get the imageSource of the icon of btn 1 --> img id 1003 of cd 1 of stack "artwork" Hugh Senior FLCo __

Re: Summer (Winter) Time Fun

2015-04-01 Thread FlexibleLearning.com
I was going to post a link to EXACTLY the same video clip! There are simply some things that defy any reasonable solution, but a 3am check-point on the change-over day is perhaps the least painful... or you allow a 1-day grace period on any date. Hugh Senior FLCo Peter wrote... If you have 10

[ANN] Free update: ChartMaker 3.0 Build 65

2015-04-08 Thread FlexibleLearning.com
I am pleased to announce a free update for ChartMaker that is LC6.7 and LC7 compatible. Full release notes and the new release download are available here, including a free 30-day trial (or use your existing key to update): http://www.flexiblelearning.com/chartmaker/versioning/whatsnew.htm Not

Cyclomatic complexity

2015-06-07 Thread FlexibleLearning.com
Hi Richard, I would be deeply interested in your stack! We have an inherited stack here that is to undergo refactoring in the near future and a basic 'complexity metric' would be incredibly useful. Please ping me off-list. Best regards, Hugh Senior FLCo Richard wrote: For many years a lot

Re: Livecode Store

2015-06-30 Thread FlexibleLearning.com
You don't have to log in to view to the 3rd party "Extensions" pages, but only the briefest of information is displayed. All the screenshots, write-ups and star ratings have failed to be transferred to the new-look website as promised. All most disappointing. Hugh Senior FLCo > On Mon, Jun 29,

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

2015-07-08 Thread FlexibleLearning.com
Hi Peter As you will have gathered, there is no "label" property as such, simply a field with pre-defined attributes including lockText. It depends what you are trying to do and why you need to identify them, but if you need to regularly test the easiest way may be to manually specify a customProp

ChartMaker and Drawing a Graphic Segment

2015-07-28 Thread FlexibleLearning.com
ChartMaker details and direct purchase are available here... www.flexiblelearning.com/chartmaker > On Mon, Jul 27, 2015 at 2:08 PM, Peter Haworth wrote: > >> Wondering if you know about ChartMaker, available at the Livecode store >> for $79. Might save you a lot of grief for a fairly small out

RE: Compare numeric strings with leading zeros

2015-09-03 Thread FlexibleLearning.com
I would simply force a string comparison... return num1 & space=num2 & space Hugh Senior FLCo > From: "Ralph DiMola" > > Feeling pretty clueless here but... > > I need ("5" = "005") to be false. This is for password validation. > > Ralph DiMola _

RE: Compare numeric strings with leading zeros

2015-09-03 Thread FlexibleLearning.com
Or even just EMPTY converts to a string... return num1 & ""=num2 & "" Hugh Senior FLCo > From: "Ralph DiMola" > > Feeling pretty clueless here but... > > I need ("5" = "005") to be false. This is for password validation. > > Ralph DiMola ___

Re: LiveCode for the rest of us

2015-09-19 Thread FlexibleLearning.com
> On 9/19/15, 1:59, R.H. wrote: > > Why not there is a field that can easily be set to display > > international date and time formats and automatically would default to > > local standards without having to script a lot and redoing the same > > work over and over again? Why not a field can be de

RE: Why there is a difference between the gps timestamp and "the seconds"?

2015-10-24 Thread FlexibleLearning.com
Looks like a 1 hour offset, plus a bit of lag. Hugh Senior FLCo > Hello, > > With mobilecurrentlocation() we can get the timestamp : "the time at which > the measurement was taken, in seconds since 1970." > if the same time i get "the seconds" ("The seconds function returns the total > number of

[OT] For Mark Laffoon: Scripter's Scrapbook

2014-05-06 Thread FlexibleLearning.com
Mark Your gmail account is bouncing my emails to you. Since a Scrapbook link requires some text or an in-line image, you could try using the API and ssBkSetEntryData (#17 in the API webpage) to set the required link as htmlText... Example: ssBkSetEntryData "MyEntry","Code","This is a test","HTM

RE: Shout out to Hugh Senior

2014-06-12 Thread FlexibleLearning.com
Thank you for the heads-up, Simon. Something strange going on with the LC website server. It is insisting on an https prefix for the download link, which is why a spurious certificate error is displayed. The correct download link should be... http://www.flexiblelearning.com/chartmaker/downloads/C

RE: Milliseconds -> minutes and seconds

2014-06-28 Thread FlexibleLearning.com
Have a look at FieldFormatter. It does just this sort of thing... www.flexibleLearning.com/fieldformatter Hugh Senior FLCo Gerry Orkin wrote Hi all I'm playing an .mp3 file in iOS and saving the elapsed playing time (in milliseconds as reported by the native player) into an sqlite database

[ANN] Free update: ChartMaker 3.0 Build 62

2014-07-23 Thread FlexibleLearning.com
Version: 3.0 Build: 62 Release type: Maintenance Issued: 23 July 2014 What's New in this build? This is a free maintenance release that addresses the following issues... Fixed . Trend and Aim lines now display correctly when XGridAlign is false . Utility: Spurious data pasting when mousewheel is

answer files with dot notation

2014-07-30 Thread FlexibleLearning.com
This works: set the defaultFolder to "./" answer files "Select a file..." Using in-line syntax, this does not work: answer files "Select a file..." with "./" Is this a bug? Hugh Senior FLCo ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: "read...until " -- buffer size

2014-08-05 Thread FlexibleLearning.com
Kay C Lan wrote: > On Wed, Aug 6, 2014 at 5:16 AM, Alex Tweedly wrote: > > > LC is supposed to be an easy to use language/system > > > > "report of a bug due to unacceptable performance", and it > > should just say something like "Make this work at acceptable speed > > so it can be used" :-)

RE: Execution of a "long" script

2014-08-11 Thread FlexibleLearning.com
> Hi list > I'm about to launch a script on LC 6.5.2 on Mac to process a large xml file, > and the execution will take several hours at least. > I am wondering : if I use other apps like a browser or a mailer after > starting > the script, or if I return to the Finder or navigate through various ap

Who says LiveCode ain't English!

2014-08-18 Thread FlexibleLearning.com
For fun, writing a story using LiveCode syntax without a compile error... on mouseUp go to shop if shop is not open then return home get groceries, coffee and milk go back home put groceries into fridge end mouseUp How long can we make it? Hugh Senior FLCo __

RE: Sunset, sunrise, twilight calculations in LC?

2014-08-23 Thread FlexibleLearning.com
Yes. I have done this. It is not a trivial exercise. It requires a lot of complex solar geometry calculations as well as Julian calcs. Go to http://www.esrl.noaa.gov/gmd/grad/solcalc, pick the "Solar Calculator", extract the javascript in the web page, then translate it to LC for use in your own w

Solar Clock (was Re: Sunset, sunrise, twilight calculations in LC?)

2014-08-23 Thread FlexibleLearning.com
> I found this link. It might be easier to convert this code to LC. > http://williams.best.vwh.net/sunrise_sunset_algorithm.htm > Bill > > William Prothero > http://es.earthednet.org These algorithms have now been superceded by the NOAA algorithms http://www.esrl.noaa.gov/gmd/grad/solcalc. There

Re: Julian dates

2014-08-27 Thread FlexibleLearning.com
Bob Sneidar wrote... Not to throw a wrench in the works, but wasn't there some discussion in the past about different versions of Julian dates? Which one is the more widely accepted? I suppose the question could be formed, which one does Microsoft use for Excel? :-) Hi Bob There is only one Ju

Delete columns... How?

2014-08-29 Thread FlexibleLearning.com
Related problem to 'join columns': How to delete a column of data? This fails... on mouseUp get fld 1 split it by column delete local it[2] combine it by column put it into fld 2 end mouseUp It seems that 'combine by column' requires the same number of array keys as the original data s

Re: Delete columns... How?

2014-08-29 Thread FlexibleLearning.com
put tVar[i] into tVar[i-1] > end repeat > delete local tVar[N] > -- delete local tVar[2] > combine tvar by column > put tvar after msg > end mouseUp > > -- Alex. > > On 29/08/2014 10:33, FlexibleLearning.com wrote: > > Related proble

Re: which is faster for searching?

2014-08-30 Thread FlexibleLearning.com
Peter Haworth wrote > There's another situation where I use repeat with even though it's a little > slower than repeat for and I also alter the contents of the data I'm > repeating through without any problems. > > repeat with x=the number of lines in tVar down to to 1 >if then > delet

RE: binFile and windows

2014-08-30 Thread FlexibleLearning.com
Am unsure exactly what you are trying to do here, Eric. You are putting an image file into a variable, then writing a stack image to that file. Does the image file exist in the first place? If you are trying to write a stack image to a disk file then something like this... create folder lFo

Re: which is faster for searching?

2014-08-31 Thread FlexibleLearning.com
b of extra virtual memory. -- Alex. On 30/08/2014 08:45, FlexibleLearning.com wrote: > Peter Haworth wrote > >> There's another situation where I use repeat with even though it's a little >> slower than repeat for and I also alter the contents of the data I'm >&g

Speed testing: Fastest search method

2014-08-31 Thread FlexibleLearning.com
quot; into tVar put the long seconds into tStart repeat for each line L in tVar if L<>"" then put L &cr after stdout end if end repeat if last char of stdout=cr then delete last char of stdout put stdout into fld "output" pu

Re: Speed testing: Fastest search method

2014-08-31 Thread FlexibleLearning.com
>From David Epstein Q1. Not that I know of. Q2. Of course it does, but the same condition is in place in all three tests. And the data has to come from somewhere. Q2. This 'repeat for each' rule refers to not modifying whatever 'each' refers to. In this case, 'each' is a line and the number of lin

Re: Speed testing: Fastest search method

2014-09-01 Thread FlexibleLearning.com
hasMemory may indeed be of some use, but I have had problems with it in the past. Besides, as has been pointed out, anything that is likely to drain all memory should probably be served from a database anyway. heapSpace is for HC/SC compatibility and does not map on all (if any) platforms. From:

Re: Speed testing: Fastest search method

2014-09-01 Thread FlexibleLearning.com
Hi Alex Agreed. And your #4 is a nice solution. Hugh Senior FLCo From: Alex Tweedly Hugh, The condition you've chosen for deciding whether to delete the line is whether or not the line is empty. So in method 2, replacing those lines by "" has no effect on the data. That is, I think, an in

How To: Delete columns of data

2014-09-02 Thread FlexibleLearning.com
This takes 2ms to remove 4 columns from a 100x100 data table... on mouseUp --| Syntax: deleteColumns , --| data: Specifies the data to parse --| cols: A comma separated list of columns to be removed deleteColumns fld "Input","5,10,15,20" -- Specify what to do with 'the result'...

Re: How To: Delete columns of data

2014-09-05 Thread FlexibleLearning.com
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 -

How To: Manage columns of data (was Re: How To: Delete columns of data)

2014-09-06 Thread FlexibleLearning.com
Peter: Thank you for adding column ranges. Mike: Thank you for the column extraction handler. I believe this summarises our efforts to date. It includes column ranges and the ability to either delete or extract columns of data from a table. I accept that optimisation has been compromised in favou

Re: Making data plots

2014-09-08 Thread FlexibleLearning.com
Or use ChartMaker... www.flexibleLearning.com/chartmaker Hugh Senior FLCo William Prothero wrote: > Folks: > I?ve been working on an app that plots various kinds of data. For some of the > data, where I need a line plot, I create lines, boxes, labels, etc, and after they > are displayed, I t

Garbage collection in 7.0 (was Re: WindowShape)

2014-09-13 Thread FlexibleLearning.com
Could be related to Bug #13126 and inadequate garbage collection in DP8. The issue has been confirmed but not yet resolved. Hugh Senior FLCo From: Paul Hibbert Crashed here too. So I opened the Activity Monitor, launched LC again, opened the stack and activated the animation, then watched the

[ANN] modified Table Field 0_2_9

2014-09-17 Thread FlexibleLearning.com
Link does not work here... I see the text of your stack displayed in my browser. Maybe you can upload a zip file, so it downloads as expected? Hugh Senior FLCo BNig wrote... here a version of modifiedTableField that makes use of the new LC7 RC1 feature of text aligning columnar data. You can

ImageData restore problems

2014-09-20 Thread FlexibleLearning.com
I have an embedded image, size 120Kb, and want to toggle between a non-compacted (120Kb) and a compacted (30Kb) thumbnail version... 1. I thumbnail the original image (data is still 120Kb as expected). 2. I store the TEXT of the resized image. 3. I compact the image by setting the imageData of the

Re: ImageData restore problems

2014-09-22 Thread FlexibleLearning.com
Having wrestled with this for a long time, I post a solution for future reference... Situation I have a large embedded image. I want to thumbnail it/rotate it/mess with it, but be able to restore the original without loss of any original data. How do we do this? Solution We need to save the ori

RE: Text fields with rounded corners

2014-10-05 Thread FlexibleLearning.com
roundRect graphic instead of a field border. 2p Hugh Senior FLCo From: Richmond Subject: Text fields with rounded corners ? Richmond ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe

RE: Teaching LiveCode to Children

2014-10-07 Thread FlexibleLearning.com
+1 vote Good luck! Hugh Senior FLCo -- Original message From: Terica Lynn Swangin Good Afternoon, I emailed Heather about this and she suggested that I post this request to you. My name is Terica Lynn Swangin and I am emailing to ask for your help. My business, PediNatural, is in the runni

Re: Getting a list of object properties

2014-10-09 Thread FlexibleLearning.com
William Prothero wrote > If I do: > put the properties of scrollbar "axisEntry" > I don't get anything in the message box. LC7.0 rC2, Mavericks. > > Bill The dictionary entry for Properties does need revising, but it is correct insofar as you get an array not a list. I think this does what you

RE: binaryDecode in LC 7.0(rc2) and EXIFLib

2014-10-17 Thread FlexibleLearning.com
Jacques LC v7 should be backwards compatible. I suggest you submit this in a bug report, especially if you can identify the specific function(s)/keyword(s) used by formatsList where different data is returned in order to help the team locate the issue. I suspect it will be something to do with how

Hierarchical menu issue

2014-10-17 Thread FlexibleLearning.com
It seems we cannot apply more than one checkmark flag in a hierarchical menu... !rA Apples Arena !cAlbatros Amazon I'm sure we used to be able to do this... a bullet mark at level 1 along with a tick mark at level 2. Or was that HyperCard/SuperCard only? Am I mis

Re: Sort cards doesn't work in 7.0

2014-10-26 Thread FlexibleLearning.com
As I tell my own clients: "Don't worry about backups... be paranoid!" Hugh Senior FLCo >...and my backup negligence is forever cured. You're one of the lucky ones. Most of us don't get religious about backups until after we lose critical data. _

  1   2   >