Re: 64 bit LC

2018-07-20 Thread Mark Wieder via use-livecode
HP was designing these things before there was math. Sad what has happened to the company. I'd like to blame Fiorina for the mess but she only took a bad thing and made it worse. -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list

Re: Datagrids and Nested Behaviors

2018-07-20 Thread Brian Milby via use-livecode
@Richard, That is precisely what I saw when I did my test. (And DG3 was in a different stack.) I tried manually replacing the old button with one in the stack and that completely broke the DG. @Bob Another option to get script in front of the library would be to set the script of: button id 1005

Re: 64 bit LC

2018-07-20 Thread Kee Nethery via use-livecode
On Jul 20, 2018, at 7:39 PM, Jerry Jensen via wrote: > > Just whip out your HP-35. It gets right answers! > .Jerry Long ago I sat on a bus at a conference next to the product manager for the HP-35. He said that they ran out of a part that was no longer made and had to re-design the board to

Re: Datagrids and Nested Behaviors

2018-07-20 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > This is NOT the current normal behavior. > >> On Jul 20, 2018, at 17:13 , Richard Gaskin wrote: >> >> This is a normal setup: >> >> [ DataGrid ] >> | >> V >> [ Standard DG Behavior ] > > > THIS is: > >> [ DataGrid ] >> | >> V

Re: 64 bit LC

2018-07-20 Thread Mark Wieder via use-livecode
On 07/20/2018 06:45 PM, Paul Dupuis via use-livecode wrote: On 7/20/2018 9:20 PM, Mark Wieder via use-livecode wrote: I'm surprised there wasn't an answer before this as well. This subject comes up every few years. The engine bitness won't affect math results. The standard library used for

Re: 64 bit LC

2018-07-20 Thread Mark Wieder via use-livecode
On 07/20/2018 06:47 PM, Paul Dupuis via use-livecode wrote: And this one: https://quality.livecode.com/show_bug.cgi?id=12440 I'm not sure what a status of 'hibernated' means. Probably waiting until after something freezes over. -- Mark Wieder ahsoftw...@gmail.com

Re: 64 bit LC

2018-07-20 Thread Jerry Jensen via use-livecode
Just whip out your HP-35. It gets right answers! .Jerry > On Jul 20, 2018, at 6:32 PM, Bob Sneidar via use-livecode > wrote: > > Wouldn't it be great if we could forgo the speed in lieu of accuracy? I mean, > how could you develop an accounting application you could trust with this > caveat?

Re: Datagrids and Nested Behaviors

2018-07-20 Thread Brian Milby via use-livecode
It is not a bug. You can't save a behavior on a script only stack, they much be added after they loaded. There is a new syntax to make it automatic, but that wouldn't help here. In the IDE, enable "Show IDE stacks in lists", open the Project Browser. Find

Re: Datagrids and Nested Behaviors

2018-07-20 Thread Bob Sneidar via use-livecode
belay all that. Apparently I have to get the behavior of the behavior of the ehavior of the datagrid. THAT seems to correctly return the id of the custom button. But the datagrids do not seem to work after a close and reopen of the stack, unless I use this workaround. So there is still

Re: Datagrids and Nested Behaviors

2018-07-20 Thread Bob Sneidar via use-livecode
Okay my workaround is to have a custom property with the name of all the datagrids on a card in a custom property. Then in the openStack handler of the card I have: setMainCardBehaviors In the same script I have: on setMainCardBehaviors put the long id of me into tParentCard put the

Re: 64 bit LC

2018-07-20 Thread Tom Glod via use-livecode
Thanks Kay for your detailed answer and everyone who chimed in afterwards. will have to read it all a couple of times . i definitely have to do some tests in this regard and see how many decimal points i really need..., but I'm not surprised that the answer is not straight forward

Re: 64 bit LC

2018-07-20 Thread Paul Dupuis via use-livecode
On 7/20/2018 9:20 PM, Mark Wieder via use-livecode wrote: > I'm surprised there wasn't an answer before this as well. This subject > comes up every few years. > > The engine bitness won't affect math results. The standard library > used for math will fail beyond the scope at both ends and you'll

Re: 64 bit LC

2018-07-20 Thread Paul Dupuis via use-livecode
On 7/20/2018 9:20 PM, Mark Wieder via use-livecode wrote: > I'm surprised there wasn't an answer before this as well. This subject > comes up every few years. > > The engine bitness won't affect math results. The standard library > used for math will fail beyond the scope at both ends and you'll

Re: Datagrids and Nested Behaviors

2018-07-20 Thread Bob Sneidar via use-livecode
I should have said, after closing the stack, and quitting/relaunching Livecode. Bob S > On Jul 20, 2018, at 18:41 , Bob Sneidar via use-livecode > wrote: > > It seems that even though I save the stack after setting this behavior, > Livecode RESETS THE DATAGRID BEHAVIOR TO THE DEFAULT!

Re: Datagrids and Nested Behaviors

2018-07-20 Thread Bob Sneidar via use-livecode
OKAY HUGE BUG ALERT!!! It seems that even though I save the stack after setting this behavior, Livecode RESETS THE DATAGRID BEHAVIOR TO THE DEFAULT! What the EFF? Of course I can get around it with a custom openCard handler that resets them, (and in the words of Malthesar when discovering

Re: 64 bit LC

2018-07-20 Thread Bob Sneidar via use-livecode
Wouldn't it be great if we could forgo the speed in lieu of accuracy? I mean, how could you develop an accounting application you could trust with this caveat? Bob S > On Jul 20, 2018, at 17:17 , Kay C Lan via use-livecode > wrote: > > Surprised that no one has replied to this so I'll just

Re: Datagrids and Nested Behaviors

2018-07-20 Thread Bob Sneidar via use-livecode
This is NOT the current normal behavior. > On Jul 20, 2018, at 17:13 , Richard Gaskin via use-livecode > wrote: > > This is a normal setup: > > [ DataGrid ] > | > V > [ Standard DG Behavior ] THIS is: > [ DataGrid ] > | > V > [ Old behavior

Re: Datagrids and Nested Behaviors

2018-07-20 Thread Bob Sneidar via use-livecode
The first "behavior" is a reference to the script of the button to be inserted. The other two are because LC moved the datagrid behavior to a script only file, but left the old button (now empty) in the message path. I was thinking that if you inserted a behavior after THAT button but BEFORE

Re: 64 bit LC

2018-07-20 Thread Paul Dupuis via use-livecode
On 7/20/2018 9:20 PM, Mark Wieder via use-livecode wrote: > I'm surprised there wasn't an answer before this as well. This subject > comes up every few years. > > The engine bitness won't affect math results. The standard library > used for math will fail beyond the scope at both ends and you'll

Re: Datagrids and Nested Behaviors

2018-07-20 Thread Bob Sneidar via use-livecode
There are three objects including the custom behavior button. Bob S > On Jul 20, 2018, at 17:13 , Richard Gaskin via use-livecode > wrote: > > On further consideration, there's something even odder in my understanding of > Bernd's script. Let me rewrite it with line breaks for clarity: >

Re: 64 bit LC

2018-07-20 Thread Mark Wieder via use-livecode
I'm surprised there wasn't an answer before this as well. This subject comes up every few years. The engine bitness won't affect math results. The standard library used for math will fail beyond the scope at both ends and you'll end up doing the math yourself with strings if you need more

Re: 64 bit LC

2018-07-20 Thread Kay C Lan via use-livecode
Surprised that no one has replied to this so I'll just offer a bit of advice. Whilst on the surface your assumption is correct, 64bit will allow more accuracy than 32 bit, what you need to be aware of is the same gotchas still apply to 64 bit LC as 32 bit LC. Try this in the msg box: put

Re: Datagrids and Nested Behaviors

2018-07-20 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: >> On Jul 20, 2018, at 15:31 , Richard Gaskin wrote: >> >> IIRC Bernd's suggestion was for global scope only, yes? That is, it >> swaps the positions of the two bottom scripts shown below, and >> affects all DGs running in the session. > > Actually no that is why I was saying

Re: Datagrids and Nested Behaviors

2018-07-20 Thread Brian Milby via use-livecode
I just tried a simple test. I created a stack, added a DG and a button. I used the example at the top of this thread to set the behavior. I then added another DG to the card. Now when I double click on either DG, the new behavior is used. Is that what you are seeing and what you are

Re: Datagrids and Nested Behaviors

2018-07-20 Thread Bob Sneidar via use-livecode
> On Jul 20, 2018, at 15:31 , Richard Gaskin via use-livecode > wrote: > > IIRC Bernd's suggestion was for global scope only, yes? That is, it swaps > the positions of the two bottom scripts shown below, and affects all DGs > running in the session. Actually no that is why I was saying

Re: Datagrids and Nested Behaviors

2018-07-20 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > So far as I have been able to ascertain, "me" always refers to the > original object, and NOT the behavior. As Jacques so helpfully pointed > out, "this me" refers to the behavior's own script. So "me" might be > thought of as a synonym for "the target" (insofar as I have

Re: drawing a Barcode without a Barcode font

2018-07-20 Thread Mark Wieder via use-livecode
On 07/20/2018 03:22 PM, Mike Bonner via use-livecode wrote: Hey Mark (or anyone?) Feel like writing up a widget for this (with lots of comments) as an instructional? (Plus the fact that it'd be a very useful widget in its own right) Heh. I've got a UPC barcode widget, unfortunately there's no

Re: LiveCode server IDE - the current state of the art?

2018-07-20 Thread Alex Tweedly via use-livecode
Hi Keith, what I do in the 20 lines isn't very much - most of the work is done elsewhere. I do have a couple of places I don't use revIgniter. Here's a sanitized version of what I use there as LC Server script (NB I have sanitized it before sending, so there could be typos here - I haven't

Re: drawing a Barcode without a Barcode font

2018-07-20 Thread Bob Sneidar via use-livecode
Ugly is beautiful. A quality all it's own. :-) Bob S > On Jul 20, 2018, at 15:22 , Mike Bonner via use-livecode > wrote: > > BTW wow. I toss out a short little ugly hunk of code and you all make it > into something so much better. ___

Re: drawing a Barcode without a Barcode font

2018-07-20 Thread Mike Bonner via use-livecode
Hey Mark (or anyone?) Feel like writing up a widget for this (with lots of comments) as an instructional? (Plus the fact that it'd be a very useful widget in its own right) BTW wow. I toss out a short little ugly hunk of code and you all make it into something so much better. On Fri, Jul 20,

Re: drawing a Barcode without a Barcode font

2018-07-20 Thread Bob Sneidar via use-livecode
> On Jul 20, 2018, at 14:08 , Mark Wieder via use-livecode > wrote: > > On 07/20/2018 04:31 AM, Matthias Rebbe via use-livecode wrote: >> We tried here with iPhone and also with an USB scanner. Both devices scanned >> the code successfully. >> I have just finished a program for shipment. It

Re: drawing a Barcode without a Barcode font

2018-07-20 Thread Mark Wieder via use-livecode
On 07/20/2018 04:31 AM, Matthias Rebbe via use-livecode wrote: We tried here with iPhone and also with an USB scanner. Both devices scanned the code successfully. I have just finished a program for shipment. It fetches customer and invoice data from the accounting software and creates then

Re: Datagrids and Nested Behaviors

2018-07-20 Thread Bob Sneidar via use-livecode
So far as I have been able to ascertain, "me" always refers to the original object, and NOT the behavior. As Jacques so helpfully pointed out, "this me" refers to the behavior's own script. So "me" might be thought of as a synonym for "the target" (insofar as I have been able to work it out).

Re: Autocomplete in 9.0.1 RC1

2018-07-20 Thread Stephen MacLean via use-livecode
Thanks Colin, thought I had tried tab as well… lol, guess I hadn’t! > On Jul 20, 2018, at 4:47 PM, Colin Holgate via use-livecode > wrote: > > I think it’s a convention issue. Normally autocomplete is triggered with the > tab key. You can right arrow down the list and then press tab, and it

Re: Datagrids and Nested Behaviors

2018-07-20 Thread Mark Wieder via use-livecode
On 07/20/2018 11:43 AM, Bob Sneidar via use-livecode wrote: I believe I may have mispoken in this thread. Setting the behavior of an object does NOT insert the behavior script in FRONT of the object in the message path. It inserts it in BACK. I know this because I have a selectionChanged

Re: Autocomplete in 9.0.1 RC1

2018-07-20 Thread Colin Holgate via use-livecode
I think it’s a convention issue. Normally autocomplete is triggered with the tab key. You can right arrow down the list and then press tab, and it will do the line you were on. You could argue that enter/return should work as well, but then you don’t have a way to indicate that you don’t want

Autocomplete in 9.0.1 RC1

2018-07-20 Thread Stephen MacLean via use-livecode
Hi All, Maybe I’m missing something, but Autocomplete in the 9.0.1 RC1 doesn’t seem to work… I try selecting the appropriate pop up from the list with the right arrow key, but it doesn’t complete and just stays there. TIA, Steve MacLean 9.0.1 RC1 Business

Re: Datagrids and Nested Behaviors

2018-07-20 Thread Richard Gaskin via use-livecode
I just realized why the method most useful for controlling scope won't actually work. For scoping, we want only some DGs to have custom behavior, so this would seem most desirable: [ DataGrid ] | V [ Custom Behavior ] | V [ Standard DG

Re: Datagrids and Nested Behaviors

2018-07-20 Thread Brian Milby via use-livecode
Check out “before” and “after” in the dictionary (control structure). They allow what you are wanting. On Jul 20, 2018, 1:44 PM -0500, Bob Sneidar via use-livecode , wrote: > I believe I may have mispoken in this thread. Setting the behavior of an > object does NOT insert the behavior script in

Re: OAuth2 Library troubleshooting

2018-07-20 Thread Keith Clarke via use-livecode
Hi Sean, Thanks for the response - here and in the forum post. The process is failing at step one before any attempt to return the token, so I think it’s a LiveCode OAuth library/documentation issue - as the parameters that open a blank browser dialogue in LC work fine in Postman’s token

Re: Datagrids and Nested Behaviors

2018-07-20 Thread Bob Sneidar via use-livecode
I believe I may have mispoken in this thread. Setting the behavior of an object does NOT insert the behavior script in FRONT of the object in the message path. It inserts it in BACK. I know this because I have a selectionChanged handler in both the object and it's behavior, and a breakpoint in

iOS 12 testing

2018-07-20 Thread Colin Holgate via use-livecode
I tested at app on iOS 12 beta 4, and the Console details of the crash are below. I wanted to compare what it would be like when it works, so tried to test on an iOS 11 iPhone. But, it’s a new device, and my provisioning profiles have changed. Under LC 7.1.4 I couldn’t see my profile listed.

Re: OAuth2 Library troubleshooting

2018-07-20 Thread Pi Digital via use-livecode
Hi Keith It is not recommended to use localhost as a redirect. What I tend to do is set up a blank php or jsp on my website and use that as the redirectURL. This url is used to send the token to in a browser request. If the page fails or does not exist then that token is never received. The

OAuth2 Library troubleshooting

2018-07-20 Thread Keith Clarke via use-livecode
Hi folks, I’m trying to access the Salesforce.com REST API from LiveCode via their UserAgent flow https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_understanding_user_agent_oauth_flow.htm

Re: Help with Bug #19550: Add support for symlinks to standalone builder

2018-07-20 Thread Mike Kerner via use-livecode
A couple of thoughts: 1) There might be cases where symlinks should not be traversed, so there probably should be an option to traverse or not 2) There are probably going to be cases where the symlinks are recursive. I think there should definitely be an option to resolve those. On Fri, Jul 20,

Help with Bug #19550: Add support for symlinks to standalone builder

2018-07-20 Thread Trevor DeVore via use-livecode
Hi everyone, I’m writing this email to see if there is someone who can pitch in and implement a fix for bug 19550 [1]. The issue is that the the copy folder command that the LC standalone builder uses does not support symlinks. While this hasn’t been a significant problem in the past, it has now

Re: line 1 of the volumes

2018-07-20 Thread Klaus major-k via use-livecode
Hi Tom, > Am 20.07.2018 um 16:51 schrieb Tom Glod via use-livecode > : > > My guess would be yes since the OS should always report that as the first > drive...but I can't be sure. the only way to know for sure is to ask > someone with intimate knowledge of the C++ behind the function. yes,

Re: line 1 of the volumes

2018-07-20 Thread Tom Glod via use-livecode
My guess would be yes since the OS should always report that as the first drive...but I can't be sure. the only way to know for sure is to ask someone with intimate knowledge of the C++ behind the function. On Thu, Jul 19, 2018 at 11:58 AM, Klaus major-k via use-livecode <

Re: Android, acceleratedRendering and visual effect

2018-07-20 Thread Dan Friedman via use-livecode
Monte, Thanks! I have a client waiting… should I revert back to 9.0.0? Or is there a 9.0.1 rc2 coming SOON? -Dan On 7/19/18, 5:17 PM, "use-livecode on behalf of Monte Goulding via use-livecode" wrote: Hi Dan A little update. The bug report is here:

Re: line 1 of the volumes

2018-07-20 Thread Klaus major-k via use-livecode
Hi Tiemo, > Am 20.07.2018 um 14:58 schrieb Tiemo Hollmann TB via use-livecode > : > > LC 9.0, Win10: C: > For me, yes. for me, too. > In general? Well, that was my question. :-) > Tiemo > >> Hi friends, >> >> this came up in the forum: Can we rely on the fact that >> -> line 1 of the

AW: line 1 of the volumes

2018-07-20 Thread Tiemo Hollmann TB via use-livecode
LC 9.0, Win10: C: For me, yes. In gerneral? Tiemo -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von Klaus major-k via use-livecode Gesendet: Freitag, 20. Juli 2018 11:43 An: How to use LiveCode Cc: Klaus major-k Betreff: Re: line

Re: drawing a Barcode without a Barcode font

2018-07-20 Thread Matthias Rebbe via use-livecode
We tried here with iPhone and also with an USB scanner. Both devices scanned the code successfully. I have just finished a program for shipment. It fetches customer and invoice data from the accounting software and creates then the shipment labels including a Code25i barcode and a QR code. The

Re: line 1 of the volumes

2018-07-20 Thread Klaus major-k via use-livecode
Hi all, > Am 19.07.2018 um 17:58 schrieb Klaus major-k via use-livecode > : > > Hi friends, > > this came up in the forum: Can we rely on the fact that > -> line 1 of the volumes > is always the BOOT volume? noone for a quick YES or NO? Best Klaus -- Klaus Major http://www.major-k.de

Re: drawing a Barcode without a Barcode font

2018-07-20 Thread Mike Bonner via use-livecode
Very cool! Does it actually produce a code that can be scanned? On Fri, Jul 20, 2018 at 3:25 AM Matthias Rebbe via use-livecode < use-livecode@lists.runrev.com> wrote: > Mike > > you´re awesome. That is already an almost complete solution to my > question. Never had expected that. Thank you

Re: drawing a Barcode without a Barcode font

2018-07-20 Thread Matthias Rebbe via use-livecode
Mike you´re awesome. That is already an almost complete solution to my question. Never had expected that. Thank you very much. I´ve made some little changes. One among of them is: To have all the separate bars of the barcode in a group, i changed the lines where the grc is cloned to for example

Trying to track down the reason for slow downloads

2018-07-20 Thread Heather Laine via use-livecode
Dear List Folks, There appears to be a strange glitch with slow downloads from downloads.livecode.com , which only affects a select handful of people. We are trying to track this down - it may be simply a random internet glitch that we can do nothing about, but

Re: LiveCode server IDE - the current state of the art?

2018-07-20 Thread Keith Clarke via use-livecode
Thanks for describing your setup, Alex. I like the ‘work locally as usual, then upload’ approach - coupled with the essential 'Did everything synch?' check utility! :-) The lightweight LCS hub is very appealing (probably without RevIgniter to avoid any additional complexity) to get the basic