Re: I need to write an external for LiveCode in C++, but I doubt my ability to do it.

2016-03-07 Thread JB
When you mention LCB is that the widget builder they imported Foundation for? If it is and his main goal is speed wouldn’t he be better off using a external since they have better performance? John Balgenorth > On Mar 7, 2016, at 2:47 AM, Monte Goulding wrote: > > >> On 7 Mar 2016, at 9:37 P

File exists

2016-04-02 Thread JB
wondering if there is a better way. JB ___ 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: File exists

2016-04-02 Thread -=&gt;JB<=-
Files will do it; I forget so easily. JB > On Apr 2, 2016, at 1:48 AM, JB wrote: > > If I open a file for read or write and the file does > not exist it will be created. Is there a way to see > if the file exists before opening it? I do not want > a file to be created if

Re: File exists

2016-04-02 Thread JB
I LIKE THAT! thank you very much. JB > On Apr 2, 2016, at 2:00 AM, Thierry Douez wrote: > > Hi, > > there is a file ".." > > HTH, > > Thierry > > > 2016-04-02 10:48 GMT+02:00 JB : > >> If I open a file for read or write and the

Re: File exists

2016-04-02 Thread JB
Thank you, Richmond! Your help is always appreciated. JB > On Apr 2, 2016, at 2:03 AM, RM wrote: > > Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your sub

Re: File exists

2016-04-02 Thread JB
Thanks for the code and info, Kay. JB > On Apr 2, 2016, at 10:53 AM, Kay C Lan wrote: > > On Sat, Apr 2, 2016 at 4:48 PM, JB wrote: >> If I open a file for read or write and the file does >> not exist it will be created. > > Just to clarify, that statement is in

Re: Indy Licensing

2016-04-13 Thread JB
You can use the FREE VERSION. But I have read you are not allowed to develop for the Indy with it. I guess you can discuss the licensing of the free version and hw it relates. JB > On Apr 13, 2016, at 10:36 AM, Warren Samples wrote: > > On 04/13/2016 12:26 PM, John Dixon wrote

Re: specialfolderpaths on Windows >=8

2016-04-14 Thread JB
Will you ever give them the option to write certain files to the desktop or is that becoming a bad idea too? JB > On Apr 14, 2016, at 12:24 PM, Paul Dupuis wrote: > > On 4/14/2016 1:33 PM, Klaus major-k wrote: >> Hi firends, >> >> on Wndows XP and 7, I usually t

Re: Revenue and the Open Source edition

2016-05-02 Thread JB
latest version will destroy them; JB > On May 2, 2016, at 8:06 AM, Peter TB Brett wrote: > > On 02/05/2016 14:31, RM wrote: > >> 2. The enormous differential between the FREE version and the Commercial >> version: this seems almost an unbridgeable >> gap.

Re: Revenue and the Open Source edition

2016-05-03 Thread JB
We paid for the code and we were given a link to download the code to be used as open source code. We did not make any agreement to fund its development. JB > On May 2, 2016, at 3:35 PM, Monte Goulding wrote: > > Aha... Was the Kickstarter for open source or for the refactor?

Re: Revenue and the Open Source edition

2016-05-03 Thread JB
You are correct! I helped fund the open source and never made any complaints about it and am not complaining now. JB > On May 3, 2016, at 5:13 AM, Monte Goulding wrote: > > >> On 3 May 2016, at 10:07 PM, JB wrote: >> >> We paid for the code and we were give

Re: Revenue and the Open Source edition

2016-05-03 Thread JB
source version for many different reasons. That leaves people little chance to participate by adding code. Use it, point out bugs and pay money. That is not what I was hoping for. JB > On May 3, 2016, at 7:56 PM, Robert Mann wrote: > > I goes one of the central issue of a communit

Re: Community PDF Project (was Revenue and the Open Source edition)

2016-05-04 Thread JB
person who can do it probably does not need help. JB ' > On May 4, 2016, at 9:13 AM, RM wrote: > > I would suppose the ideal thing would be both something that allows one to > render a PDF document, > and extract all or part of an embedded text layer (

Re: min() and array

2016-05-04 Thread JB
It returns 0 in Revolution. JB > On May 4, 2016, at 11:47 AM, Ludovic THEBAULT > wrote: > > Hello, > > With the new 8.0. > > It is normal that script return 0 ? > > repeat with i=1 to 5 > put 10 + i into tarray[i][v] > end repeat > put min(tarray[v

Re: Community PDF Project (was Revenue and the Open Source edition)

2016-05-04 Thread JB
improved. It would be a good lesson. JB > On May 4, 2016, at 10:28 AM, Paul Dupuis wrote: > > On 5/4/2016 12:13 PM, RM wrote: >> I would suppose the ideal thing would be both something that allows >> one to render a PDF document, >> and extract all or part of an

Re: Community PDF Project (was Revenue and the Open Source edition)

2016-05-04 Thread JB
Thank you. JB > On May 4, 2016, at 12:42 PM, Paul Dupuis wrote: > > On 5/4/2016 3:38 PM, JB wrote: >> I just downloaded the mac version of >> XPDF as binaries. It looks like they >> would be easier to install than code >> files but I have never embedded any &

Re: Community PDF Project (was Revenue and the Open Source edition)

2016-05-04 Thread JB
binaries it would open the door for the others. JB What I really meant was installing binaries in the xCode project and then writing the > On May 4, 2016, at 12:42 PM, Paul Dupuis wrote: > > On 5/4/2016 3:38 PM, JB wrote: >> I just downloaded the mac version of >> XPDF as bin

Re: Community PDF Project (was Revenue and the Open Source edition)

2016-05-04 Thread JB
That sounds like exactly what I need. Thank you! JB > On May 4, 2016, at 1:37 PM, Paul Dupuis wrote: > > On 5/4/2016 4:12 PM, JB wrote: >> A number of years ago I installed a external >> using Trevor’s info but this is good too. >> proper code to access the embe

Re: Community PDF Project (was Revenue and the Open Source edition)

2016-05-04 Thread JB
Anyone know how to make xCode 7 externals work with Revolution? The latest version of xCode it will take is 2.4 and I do not have that on my current Mac. Or is there a way to install the older version on a mac with El Capitan? JB > On May 4, 2016, at 1:37 PM, Paul Dupuis wrote: > &g

Re: Community PDF Project (was Revenue and the Open Source edition)

2016-05-04 Thread JB
What I am trying to do is compile a external for Revolution. Is there a way to compile a external for Revolution on Mac that is using El Capitan? A patch or anything to make it work? JB > On May 4, 2016, at 2:47 PM, Monte Goulding wrote: > > >> On 5 May 2016, at 7:2

Re: Community PDF Project (was Revenue and the Open Source edition)

2016-05-04 Thread JB
work? So I am looking for anyway to make the external work. JB > On May 4, 2016, at 3:21 PM, Monte Goulding wrote: > > A patch for what precisely? > > Sent from my iPhone > >> On 5 May 2016, at 8:12 AM, JB wrote: >> >> What I am trying to do is compi

Re: Community PDF Project (was Revenue and the Open Source edition)

2016-05-04 Thread JB
Do you know of a good emulator that will work or is it possible to make it work by compiling from the commond line tools or another way? thank you, JB > On May 4, 2016, at 3:21 PM, Monte Goulding wrote: > > A patch for what precisely? > > Sent from my iPhone > >> O

Re: Community PDF Project (was Revenue and the Open Source edition)

2016-05-04 Thread JB
Thank you, I won’t use XPDF for older versions. That is good to know. q JB > On May 4, 2016, at 4:04 PM, Paul Dupuis wrote: > > On 5/4/2016 6:39 PM, JB wrote: >> I am trying to compile a external using xCode 7. Is it possible in anyway to >> make that external wor

Re: Community PDF Project (was Revenue and the Open Source edition)

2016-05-04 Thread JB
Thanks Monty. I will give it a try. JB > On May 4, 2016, at 4:09 PM, Monte Goulding wrote: > > >> On 5 May 2016, at 8:39 AM, JB wrote: >> >> I am trying to compile a external using xCode 7. Is it possible in anyway to >> make that external work or a way

Re: Community PDF Project (was Revenue and the Open Source edition)

2016-05-04 Thread JB
That will help tremendously! Thank you, Monty JB 1 > On May 4, 2016, at 5:19 PM, Monte Goulding wrote: > > BTW I have a some Xcode templates that can help make things easier available > at https://github.com/montegoulding/livecode-external-templates > >> On 5 May 2016,

read volume

2016-05-10 Thread JB
disk drive like you read a file? If I want to read all of the data on a drive do I need to list all of the files and then read from each file instead of reading the drive or volume to end of file? JB ___ use-livecode mailing list use-livecode

Re: read volume

2016-05-11 Thread JB
Thanks for the info. I will read it. JB > On May 10, 2016, at 7:16 PM, Scott Rossi wrote: > > I think what you're looking for is directory walking (files & folders, not > file contents). > > You're part of a fairly recent thread that explains this: >

Re: read volume

2016-05-11 Thread JB
to do it without writing a external it would be nice to give it a try. JB > On May 10, 2016, at 7:16 PM, Scott Rossi wrote: > > I think what you're looking for is directory walking (files & folders, not > file contents). > > You're part of a fairly recent t

Availabe diskspace

2016-05-11 Thread JB
4^2) & " mb" break case "g" return the diskSpace div (1024^3) & " gb" break default return the diskSpace break end switch end humanReadableDiskSpace theUnits What is the proper way to get the di

Re: Availabe diskspace

2016-05-11 Thread JB
Thank you very much. I looked and missed it. JB > On May 11, 2016, at 8:59 AM, Mike Bonner wrote: > > From the dictionary: Returns the amount of free space on the disk that > holds the defaultFolder. > > So, set the defaultfolder to the root (or a folder) on the drive where

Reading Files

2016-05-16 Thread JB
What programming language does the engine use to read files? JB ___ 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

Re: Reading Files

2016-05-16 Thread JB
am now thinking it is as fast as I can make it so your answer will save me a lot of wasted time. Thanks again! JB > On May 16, 2016, at 3:32 PM, Richard Gaskin > wrote: > > JB wrote: >> What programming language does >> the engine use to read files? &

Re: Reading Files

2016-05-16 Thread JB
Thank you! I will definitely read it. Right now I am reading files in 5kb sections to EOF and I am reading 350 average size jpg’s in around 4 seconds. I will be doing some processing on the files but that will be done after everything else is as fast as I can get it. JB > On May 16, 2

Re: Problems with Xcode

2016-06-02 Thread JB
Thank you very much for the info! JB > On Jun 2, 2016, at 10:55 AM, martin meili wrote: > > Hi > Some days ago I posted a message that LiveCode had problems finding the > correct Xcode-version on my iMac. Some people from the list told me, the > problem could be fixed

Re: [OT] building hpkg packages for Haiku OS

2016-06-12 Thread JB
I was reading a little about it and it said it is a open source OS built using JAM. Then I read a little about JAM and it said JAM has Efficient C bindings* Since LiveCode is written in C++ it might mean it could be incorporated easily. JB > On Jun 12, 2016, at 1:00 PM, Richmond wr

Re: [OT] building hpkg packages for Haiku OS

2016-06-12 Thread JB
ve a few percent to finish so I do not have the time even if it is easy. JB > On Jun 12, 2016, at 2:51 PM, Richard Gaskin > wrote: > > JB wrote: > > > I was reading a little about it and it said it is a open source > > OS built using JAM. Then I read a little ab

Re: Licensing AGAIN [was: Sharing FontLab Plugin]

2016-07-22 Thread JB
Around a year or so ago I read Apple was thinking of making xCode open source. If they do then it seems like they could incorporate Livecode open source to develope similar features in xCode. With their money, attorneys, and laws in different countries they can pretty much use what they want. Th

Re: Licensing AGAIN [was: Sharing FontLab Plugin]

2016-07-22 Thread JB
. Whatever path they take Apple needs to simplify the xCode interface. John Balgenorth > On Jul 22, 2016, at 8:04 PM, Dr. Hawkins wrote: > > On Fri, Jul 22, 2016 at 3:04 PM, JB wrote: > >> Around a year or so ago I read Apple was thinking >> of making xCode open sou

Re: Licensing AGAIN [was: Sharing FontLab Plugin]

2016-07-24 Thread JB
If that were the case Apple and Microsoft would own everything used on their code and OS. The bigger issues is can the community version be used to compile a project like the the commercial version and the answer is yes it can plus others are allowed to use the code they purchased to run a busines

Pointers

2016-10-09 Thread JB
ood even many advanced programmers with a good knowledge of pointers will benefit greatly from reading it. JB ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferenc

Why pointers are fast

2016-10-24 Thread JB
instead of chapters it uses the word Book. Look at Book 6 ro learn about memory management and pointers. JB ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: How do I codesign an App?

2016-10-26 Thread JB
Thanks for the info and link, Trevor. JB > On Oct 26, 2016, at 6:22 AM, Trevor DeVore wrote: > > On Wed, Oct 26, 2016 at 8:12 AM, Graham Samuel wrote: > >> >> I’m glad we’re both still here! Yes, that’s useful stuff, thank you very >> much. I will see if I

Foundation Framework

2017-01-02 Thread JB
://fresh2refresh.com/c-programming/ 2. Some of the best examples I have seen for accessing the power of Foundation. https://ios.eezytutorials.com/nsarray-by-example.php#.WGr_jrGZMlU Happy New Year and Happy Programming! JB 1 ___ use-livecode mailing

Re: Foundation Framework

2017-01-03 Thread JB
value the code save it while you can. JB > On Jan 3, 2017, at 3:09 AM, hh wrote: > >> JB wrote: >> The Livecode team imported Apple’s Foundation >> Framework so you can use its power inside of a >> stack instead of writing extensions. It will be a >> li

Re: Foundation Framework

2017-01-03 Thread JB
speaks when it comes to changes. JB > On Jan 3, 2017, at 5:16 AM, hh wrote: > >> JB wrote: >> Over a year ago they said Foundation was >> imported and you can even use pointers. I >> don’t have anymore info about it. > > JB, > thanks. A simple exa

Re: [ANN] - MaterLibrary Version 8 is available

2014-11-14 Thread JB
Thank you, Mike! You did a very nice job on it. John Balgenorth On Nov 14, 2014, at 12:15 PM, Michael Doub wrote: > Enjoy! >-= Mike > > https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 > > > > Release 8 > *Added reference page that incudes an ASCII table and L

Stripping Returns

2014-11-18 Thread JB
A field has a limit on the amount of characters you can have on each line. What if I put the text of a field in a variable and it has 500,000 characters. Then I strip all of the returns that are in the field. Does that leave only one line with 500,000 characters? That exceeds the amount of char

Re: Stripping Returns

2014-11-19 Thread JB
urse, but what you do > with that data may hit a wall. > > > Craig Newman > > > > -Original Message- > From: JB > To: How to use LiveCode > Sent: Tue, Nov 18, 2014 9:48 pm > Subject: Stripping Returns > > > A field has a limit on the am

Re: Stripping Returns

2014-11-19 Thread JB
ful hint, I guess. Or learn the hard way, like you did. > That is what I do. At least that method sticks, until I forget it, that is. > > > Craig > > > > -Original Message- > From: JB > To: How to use LiveCode > Sent: Wed, Nov 19, 2014 5:48 am > Sub

Re: Stripping Returns

2014-11-19 Thread JB
the > ones used by the current OS. Text read as binary will not be altered. > > > On November 19, 2014 4:44:53 AM CST, JB wrote: >> Thank you. The logic is simple enough. >> Even so it should be noted in the read >> file that reading to the end of a file will &g

Re: Stripping Returns

2014-11-19 Thread JB
ne, but does NOT affect > the limit. > I tried putting the field back into a variable, and it is still 65533 length. > The data is truncated. > > JB note: The limit is only in FIELDS, NOT VARIABLES. You can read a long file > into a variable in one go with no problem. Its only when y

Re: Stripping Returns

2014-11-19 Thread JB
More info that is good to know. Thanks again. John Balgenorth On Nov 19, 2014, at 12:14 PM, J. Landman Gay wrote: > On 11/19/2014, 10:54 AM, dunb...@aol.com wrote: >> The text is truncated, not simply not displayed: >> >> >> >> on mouseUp >>put "1234567890 " into temp >>repeat 1

Android and iOS

2014-12-20 Thread JB
What is the earliest version of Revolution and LiveCode that provided the ability to build a standalone for the iOS and Android? What is the earliest version that works on todays Android and iOS? Are there known compatibility issues that I should try to avoid while programming the desktop version

Re: Android and iOS

2014-12-20 Thread JB
Thanks for the reply and info! I suspected the earlier versions would not work with the latest mobile devices but wash”t sure. That will certainly save me some time knowing where to start. John Balgenorth On Dec 20, 2014, at 3:42 PM, Paul Dupuis wrote: > On 12/20/2014 6:11 PM, JB wr

Re: Invisible character treated as word?

2015-01-27 Thread JB
On Jan 27, 2015, at 6:46 PM, Kay C Lan wrote: > > My suggested solution is where ever the data originally came from, prior to > inputting into your fields, variables or custom properties, it should be > tested to confirm that the data only contains ASCII chars 48 to 57 (unless > you include tho

Re: Invisible character treated as word?

2015-01-27 Thread JB
That should have been put after tCleanText > repeat with x = 1 to number of chars in pText > if char x of pText is in tList then put char x of pText in tCleanText > end repeat On Jan 27, 2015, at 7:28 PM, JB wrote: > > On Jan 27, 2015, at 6:46 PM, Kay C Lan wrote: > &

MySQL lite password

2015-02-20 Thread JB
What is the proper way to add a password to a MySQL lite database? 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

Re: MySQL lite password

2015-02-20 Thread JB
ns features. > > With using only live code your only real option is to encrypt the entire > file either using built in encrypt/decrypt commands or shell out to > something that can. > > Kind regards, > > Andrew > On Feb 20, 2015 1:53 PM, "JB" wrote: >

Re: MySQL lite password

2015-02-20 Thread JB
Or encrypt the data inside of the database? > >> On Feb 20, 2015, at 5:05 PM, JB wrote: >> >> THANKS FOR THE INFO! >> >> I can encrypt the DB and use >> a password from there. Your >> info saves me a lot of time. >> >> thanks again

Re: Best way to get started in mobile (mainly iOS) development?

2015-02-26 Thread JB
Can you buy that directly from Colin? What about Andre Garzia? He was writing a book, does it cover mobile apps? John Balgenorth On Feb 25, 2015, at 8:12 PM, Roger Guay wrote: > Colin Holgate’s Book, LiveCode Mobile Development. > > Roger > > >> On Feb 25, 2015, at 8:35 PM, Geoff Canyon

Re: Best way to get started in mobile (mainly iOS) development?

2015-02-26 Thread JB
Road maps are good to have! Does it tell you any Kool stuff to do after you get there? How about extra code? John Balgenorth On Feb 26, 2015, at 8:42 AM, J. Landman Gay wrote: > On 2/25/2015 9:35 PM, Geoff Canyon wrote: >> For those who have already made the trek, what's the best resource t

Re: Best way to get started in mobile (mainly iOS) development?

2015-02-26 Thread JB
Thanks for the info and links, Roger. I think Andre was offering a pre-release price for his book and was giving extra code. Does anyone have a link if it is still available? John Balgenorth On Feb 26, 2015, at 3:47 PM, Roger Guay wrote: > I’m sorry JB, I haven’t been keeping up with Co

App on different systems

2015-02-26 Thread JB
I am developing a desktop app for Mac that I plan to sell on the Mac App store. My question is if people using other systems are able to use a Mac emulator to purchase apps at the Mac App store? Do the apps usually run with out any problems on the emulators these days? John Balgenorth _

Re: App on different systems

2015-02-26 Thread JB
Balgenorth On Feb 26, 2015, at 6:00 PM, Kay C Lan wrote: > On Fri, Feb 27, 2015 at 8:58 AM, JB wrote: > >> a Mac emulator >> > > There's such a thing? Why? Surely there is no Mac software that there isn't > a Windows equivalent. > > The only Mac em

Re: App on different systems

2015-02-26 Thread JB
ctice differ. > > On Thu, Feb 26, 2015 at 7:00 PM, Kay C Lan wrote: > >> On Fri, Feb 27, 2015 at 8:58 AM, JB wrote: >> >>> a Mac emulator >>> >> >> There's such a thing? Why? Surely there is no Mac software that there isn't >>

Re: App on different systems

2015-02-26 Thread JB
at 10:11 AM, JB wrote: > >> That solves my problem of trying >> to code and sell the app to those >> who do not own a Mac. >> >> But isn't that why you code in LC, so it's easy to create crossplatform > apps? > > Actually, that's a stu

Re: App on different systems

2015-02-26 Thread JB
Thanks Kee! That info is nice to know. John Balgenorth On Feb 26, 2015, at 8:50 PM, kee nethery wrote: > I don’t own a Windows machine, I don’t test on a Windows machine, I do > however have an internal app that is used on Macs except for two Windows > users. I click the checkbox for build

Re: App on different systems

2015-02-27 Thread JB
Thanks for the explanation, Richmond. I was meaning whatever is able to rub Mac OS on different systems. John Balgenorth On Feb 26, 2015, at 11:12 PM, Richmond wrote: > On 27/02/15 02:58, JB wrote: >> I am developing a desktop app for Mac that I plan >> to sell on th

Re: App on different systems

2015-02-27 Thread JB
that > same environment since it is a real Windows environment. > > Graham > >> On 27 Feb 2015, at 03:39, JB wrote: >> >> It doesn’t sound too difficult to make the >> app cross-platform. The problem would >> be the needed testing before a release >

Re: App on different systems

2015-02-27 Thread JB
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" >

Re: App on different systems

2015-02-27 Thread JB
ng for a modern version of Parallels > and for Windows. It is not beyond imagination that you could acquire a > Windows laptop for say twice as much… not what I’d do, but YMMV. > > Graham > >> On 27 Feb 2015, at 11:20, JB wrote: >> >> Thanks. Graham. >> >&

Re: App on different systems

2015-02-27 Thread JB
Thanks for the info, Mike. I will definitely be going with Parallels. This will make it very easy to test for a PC. John Balgenorth On Feb 27, 2015, at 6:45 AM, Mike Bonner wrote: > If I recall correctly, you can install macos on more than one device > (legally) as long.. as its on apple har

Re: App on different systems

2015-02-27 Thread JB
Hi Richmond, Can I test a Linux version on the Mac? John Balgenorth On Feb 27, 2015, at 10:22 AM, Richmond wrote: > On 27/02/15 13:55, Graham Samuel wrote: >> Maybe for completeness I should have said that you will have to pay for a >> legitimate copy of Windows 8 or 7 or whatever - you can

Re: App on different systems

2015-02-27 Thread JB
Thanks very much, Richmond. Problems solved! Thanks to everyone who replied. John Balgenorth On Feb 27, 2015, at 12:07 PM, Richmond wrote: > On 27/02/15 21:44, JB wrote: >> Hi Richmond, >> >> Can I test a Linux version on the Mac? >> >> John Balgenorth &g

Re: App on different systems

2015-02-27 Thread JB
Thank you so much, Jacque. You have helped a lot over the years and I really appreciate it. John Balgenorth On Feb 27, 2015, at 12:35 PM, J. Landman Gay wrote: >> On 27/02/15 21:44, JB wrote: >> >> Can I test a Linux version on the Mac? > > Parallels will run Li

Re: App on different systems

2015-02-27 Thread JB
Thank you, Roger. That is some good info to know. John Balgenorth On Feb 27, 2015, at 12:51 PM, Roger Eller wrote: > On Fri, Feb 27, 2015 at 3:35 PM, J. Landman Gay > wrote: > >>> On 27/02/15 21:44, JB wrote: >>> >>> Can I test a Linux version on the

Re: App on different systems

2015-02-27 Thread JB
Thanks Richard! I always love and appreciate your info. It means a lot to me and that will be the path I take.. John Balgenorth On Feb 27, 2015, at 1:23 PM, Richard Gaskin wrote: > Richmond wrote: > > > I would recommend VirtualBox: > > https://www.virtualbox.org/wiki/Downloads > > +100

Sorting Columns

2015-03-03 Thread JB
I have a data grid and one of the columns has numbers with commas included. If I use the property inspector and select the header column I can choose sort by text or numeric. Due to the commas neither of the sort types gives me a correct sort. Do I need to make another array and strip the comma

Re: Sorting Columns

2015-03-03 Thread JB
gt; sort yourData numeric by goodNumber(item columnOfInterest of each) > > > where: > > > function goodNumber var > repeat for each char tChar in var >if var is in "0123456789" then put tChar after temp > end repeat > return temp > end goodNumbe

Re: Sorting Columns

2015-03-03 Thread JB
Thanks for the info, Srl. John Balgenorth On Mar 3, 2015, at 11:30 AM, Sri wrote: > dunbarx wrote >> An easy way is to extract the full dataset, perhaps with the "dgData". >> This will give you a tab and return delimited list. > > 1. I think Craig meant dgText (dgData is an array). > > 2. D

Re: Sorting Columns

2015-03-03 Thread JB
Thank you, for the info and code. John Balgenorth On Mar 3, 2015, at 2:16 PM, Geoff Canyon wrote: > On Tue, Mar 3, 2015 at 8:18 AM, wrote: > >> function goodNumber var >> repeat for each char tChar in var >>if var is in "0123456789" then put tChar after temp >> end repeat >> return te

Re: Sorting Columns

2015-03-03 Thread JB
Thanks Bob! Any explanation is helpful since I am fairly new to data grids. The commas are thousands delimiters. John Balgenorth On Mar 3, 2015, at 4:13 PM, Bob Sneidar wrote: > dgData returns an array. dgText returns delimited text. if the commas are > thousand delimiters, then strip them.

Re: Sorting Columns

2015-03-04 Thread JB
ribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> dunb...@aol.com <mailto:dunb...@aol.com> >> 3 mars 2015 15:18 >> An easy way is to extract the full dataset, perhaps with the "dgData&q

DataGrid Checkboxes

2015-03-05 Thread JB
The lesson for working with dataGrid checkboxes ask you to select Form. Can you only add checkboxes to the Form and not the table style of dataGrid? John Balgenorth ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to su

Re: DataGrid Checkboxes

2015-03-06 Thread JB
Thanks for the info and link, Dave. It helps a lot. John Balgenorth On Mar 6, 2015, at 6:23 AM, Dave Kilroy wrote: > Hi John > > Sure you can checkboxes in datagrid tables - but you have do a little more > work to set them up - see > http://lessons.runrev.com/m/datagrid/l/7311-how-do-i-custom

Data Grid graphics & buttons

2015-03-07 Thread JB
Is there a way to set a graphic or button in a data grid table column using a script? So if I want line 12 of column name to be a graphic can I change the behavior like I can with Haken’s script that modifies the number format and instead of displaying a different value for the number display eith

Re: Data Grid graphics & buttons

2015-03-08 Thread JB
Thanks for the link, Mike! John Balgenorth On Mar 8, 2015, at 8:27 AM, Mike Bonner wrote: > Look here: > http://lessons.runrev.com/m/datagrid/l/7311-how-do-i-customize-a-table-s-columns > > > On Sat, Mar 7, 2015 at 10:54 PM, JB wrote: > >> Is there a way to set a g

Re: Data Grid graphics & buttons

2015-03-08 Thread JB
. Maybe I need to leant the Forms example first. Is that required to work on tables or am I just doing something really stupid? John Balgenorth On Mar 8, 2015, at 8:39 PM, JB wrote: > Thanks for the link, Mike! > > John Balgenorth > > > On Mar 8, 2015, at 8:27 AM,

Data Grid sort direction

2015-03-09 Thread JB
The lessons show the following script to sort a column, set the dgProps["sort by column"] of group "DataGrid" to “Name" This will select the Header column Name and place the sort arrow in the ascending position. Is there a way to select descending using a script? John Balgenorth ___

Re: Data Grid sort direction

2015-03-09 Thread JB
he sort for the column. Valid values are > 'ascending' or 'descending’. > > All the best > > Terry > > > > > >> On 9 Mar 2015, at 08:32, JB wrote: >> >> Is there a way to select descending using a script? > > __

Re: Data Grid sort direction

2015-03-09 Thread JB
alse, how to set the sort direction and a whole bunch more. It opened a lot of doors. Thank you again! John Balgenorth On Mar 9, 2015, at 2:26 AM, JB wrote: > Thank you for the info and link, Terry! > > I did not have the PDF. Tha will solve > a lot of problems and make it e

Re: Data Grid graphics & buttons

2015-03-09 Thread JB
; column somewhere) then edit the behavior script as needed to provide your > functionality. Do the same for each column you need to customize. > > Headed out for a road trip to help a friend. Good luck! > > On Mon, Mar 9, 2015 at 12:06 AM, JB wrote: > >> After going to

Re: Data Grid graphics & buttons

2015-03-09 Thread JB
Thanks Mike! I will study it later tonight. I am sure it will help me and I appreciate it a lot. John Balgenorth On Mar 9, 2015, at 2:56 PM, Mike Bonner wrote: > Found the checkbox example I was looking for, but it uses the datagrid > helper to get the job done. I've never used DGH, but afte

Re: Toggling a Single Radio Button

2015-03-10 Thread JB
Good point, Mark. So I just changed some buttons I had that were checkboxes to radio and vice versa. Every little thing helps to make a professional product. John Balgenorth On Mar 9, 2015, at 5:29 PM, Mark Wieder wrote: > Ray- > > Monday, March 9, 2015, 11:58:42 AM, you wrote: > >> Does a

SQL lite adding records

2015-03-24 Thread JB
I am using MySql on a local host and creating a database then adding records. After creating the table I was using the handler below to add records. I was not using the revCommitDatabase gConID statement after each record and some times my database would be missing one or two records. After inclu

Re: SQL lite adding records

2015-03-24 Thread JB
, maybe tLine has comma separated values in > it? If so, you will need to enclose each value in single quotes if they are > not numeric. > > Also, if recID is the primary key, no need to include it in the list of > columns to be updated or supply a value for it, SQL will take car

Re: SQL lite adding records

2015-03-24 Thread JB
, JB wrote: > Hi Peter, > > Thank you so much for the detailed info! > > Each value has single quotes now but it > would be nice to do it without quotes as > adding them takes more time. > > I will definitely use th BEGIN statement > and thank you for ex

Re: SQL lite adding records

2015-03-24 Thread JB
Thank you, Dr. Hawkins! I have not heard of BEGIN TRANSACTION but I will give it a try. John Balgenorth John On Mar 24, 2015, at 8:13 PM, Dr. Hawkins wrote: > On Tue, Mar 24, 2015 at 6:52 PM, Peter Haworth wrote: > >> You should issue a BEGIN statement right before your repeat statement and

Re: SQL lite adding records

2015-03-24 Thread JB
It is a disk stored db, and I will be adding a lot of records at one time every so often. Speeding it up will be great! thanks again, John Balgenorth On Mar 24, 2015, at 8:30 PM, Dr. Hawkins wrote: > On Tue, Mar 24, 2015 at 8:19 PM, JB wrote: > >> I have not heard of BEGIN

Re: SQL lite adding records

2015-03-25 Thread JB
app goes on it’s merry way. > > Others more knowledgable than me will correct me on any points I may have > wrong. > > Bob S > > >> On Mar 24, 2015, at 19:11 , JB wrote: >> >> Hi Peter, >> >> Thank you so much for the detailed info! >> >&

  1   2   3   4   5   6   7   >