Re: Counting # of specific characters in string/text

2017-05-04 Thread Jörg Knebel via 4D_Tech
> On 5 May 2017, at 02:58 AEST, John Baughman via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Quick and dirty ideas… Thanks John. I had a similar idea during my afternoon nap… Cheers Jörg ** 4D Internet Users Group (4D iNUG)

Re: 4D World Tour - Denver

2017-05-04 Thread David Adams via 4D_Tech
> (Example: if you open a window and then do CALL FORM before you issues a DIALOG command, > exactly what happens related to the form events? Not gonna tell you. Go to the > 4D World Tour and let JPR tell you!) You seem excited about the event ;-) Keep in mind that not everyone can attend because

Re: 4D World Tour - Denver

2017-05-04 Thread Cannon Smith via 4D_Tech
Well, I thought I was talking about workers in general, but that was under the assumption that all processes have some kind of execution cycle. Are you saying that a non-UI process (ex. pre-emptive thread) won’t have an execution cycle? In either case, the only place I can think of where this mi

Re: 4D World Tour - Denver

2017-05-04 Thread Tim Nevels via 4D_Tech
On May 4, 2017, at 2:00 PM,Cannon Smith wrote: > I also learned that in previous versions a worker would check for the next > message once per execution cycle. Right now that has changed so that the > worker will continue executing whatever it needs to empty the message queue > all in one event

Re: 4D World Tour - Denver

2017-05-04 Thread Tim Nevels via 4D_Tech
On May 4, 2017, at 12:21 PM,David Adams wrote: > Thanks for all of the details from your time at the tour, it sound really > great. I'm happy to see that CALL FORM and CALL WORKER are being promoted, > that's great. I strongly encourage everyone to try these features out. If > you can find 30-60 m

Re: Counting # of specific characters in string/text

2017-05-04 Thread John Baughman via 4D_Tech
Ops. Bad copy and paste... textTest:=Replace string($textTest;"e";"";1) Not... characterCount:=Replace string($textTest;"e";"";1) John Baughman (808) 262-0328 > On May 4, 2017, at 6:58 AM, John Baughman via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Quick and dirty ideas… > > $text:=

Re: Bar code

2017-05-04 Thread stardata.info via 4D_Tech
Many thanks Tim Ferdinando Il 04/05/2017 19:22, Timothy Penner ha scritto: I have seen these plug-in i have seen the 128 but not the interleaved 2 of 5. Actually, the zbar plugin lists"I25" which I think is "Interleaved 2 of 5": https://github.com/miyako/4d-plugin-zbar Quote: "@since 0.4: IS

Re: 4D World Tour - Denver

2017-05-04 Thread Cannon Smith via 4D_Tech
I also just got back from the World Tour. It was great to see some of you again and the information was very helpful. Add had some great demos and JPR shared a lot of great information. One thing JPR helped me understand better is that a worker is basically just a process ready to do things. Yo

RE: Bar code

2017-05-04 Thread Timothy Penner via 4D_Tech
> I have seen these plug-in i have seen the 128 but not the interleaved 2 of 5. Actually, the zbar plugin lists"I25" which I think is "Interleaved 2 of 5": https://github.com/miyako/4d-plugin-zbar Quote: "@since 0.4: ISBN10, ISBN13, I25, CODE39" -Tim *

RE: Bar code

2017-05-04 Thread stardata.info via 4D_Tech
Hi Tim, Thanks for your reply. I have seen these plug-in i have seen the 128 but not the interleaved 2 of 5. /Ferdinando/ Il 04/05/2017 13:45, 4d_tech-requ...@lists.4d.com ha scritto: Message: 5 Date: Wed, 3 May 2017 22:13:14 + From: Timothy Penner To: 4D iNug Technical<4d_tech@lists.4

Re: Counting # of specific characters in string/text

2017-05-04 Thread John Baughman via 4D_Tech
Quick and dirty ideas… $text:="Now is the time for all good men to come to the aid of their country" ARRAY TEXT($aWords;0) GET TEXT KEYWORDS($text;$aWords) $wordCount:=Count in array($aWords;"The") COPY ARRAY($text;$textTest) $characterCount:=0 While (Position("e";$textTest)>0) $characterCoun

RE: 4D World Tour - Denver

2017-05-04 Thread Justin Will via 4D_Tech
David, I completely agree!!! Call Form and Call Worker are really more accurately named and described by your naming. > As a quick heads-up, I think that the most accurate names for these commands > are respectively: > > EXECUTE METHOD IN WINDOW > EXECUTE METHOD IN WORKER Thanks Justin Will

Re: Counting # of specific characters in string/text

2017-05-04 Thread Arnaud de Montard via 4D_Tech
> Le 4 mai 2017 à 15:11, Vincent de Lachaux via 4D_Tech <4d_tech@lists.4d.com> > a écrit : > > Something like: > > [using Replace string] About using Replace string and "big" text (example: count lines in a csv):

Re: Components: Running uncompiled?

2017-05-04 Thread David Adams via 4D_Tech
Peter and Arnaud, thanks so much for your suggestions and help. I'm still a bit mystified, but it seems to be working now. For development, I'm happy to work all interp. for a bit, no problem. It's massively easier to develop with components now that you have a way to trace through the component co

Re: 4D World Tour - Denver

2017-05-04 Thread David Adams via 4D_Tech
Tim, Thanks for all of the details from your time at the tour, it sound really great. I'm happy to see that CALL FORM and CALL WORKER are being promoted, that's great. I strongly encourage everyone to try these features out. If you can find 30-60 minutes when you've got the feeling to experiment,

Re: Counting # of specific characters in string/text

2017-05-04 Thread Vincent de Lachaux via 4D_Tech
Something like: // // Project method : str_Occurences // Database: Sandbox // ID[3FBA4FA5A1B74C9A87061DA1D97D5E51] // Created #2-1-2015 by Vincent de Lachaux // // Description:

4D World Tour - Denver

2017-05-04 Thread Tim Nevels via 4D_Tech
I was at the 4D World Tour in Denver and I agree with John. It was excellent. Probably better than the last world tour 2 years ago. I highly recommend it to everyone. And that includes all you guys that think you are 4D experts and already know all that you need to know about 4D. You don’t know

Re: Counting # of specific characters in string/text

2017-05-04 Thread Arnaud de Montard via 4D_Tech
> Le 4 mai 2017 à 14:22, Jörg Knebel via 4D_Tech <4d_tech@lists.4d.com> a écrit > : > > Hi all > > I’m wondering if someone has a clever routine to count the number of > appearances of a specific character/word in a string/text and is willing to > share it. I use this one: //Str_count (find

Counting # of specific characters in string/text

2017-05-04 Thread Jörg Knebel via 4D_Tech
Hi all I’m wondering if someone has a clever routine to count the number of appearances of a specific character/word in a string/text and is willing to share it. Thanks Cheers Jörg ** 4D Internet Users Group (4D iNUG) FAQ:

Re: Components: Running uncompiled?

2017-05-04 Thread Arnaud de Montard via 4D_Tech
> Le 4 mai 2017 à 12:33, David Adams via 4D_Tech <4d_tech@lists.4d.com> a écrit > : > > I'm still working away on my components and I have another remedial > question. I'd really like to be able to trace through a component while in > the host. Sometimes this works, sometimes I get complaints th

Re: Components: Running uncompiled?

2017-05-04 Thread Peter Jakobsson via 4D_Tech
On 4 May 2017, at 12:33, David Adams via 4D_Tech <4d_tech@lists.4d.com> wrote: > I'm still working away on my components and I have another remedial > question. I'd really like to be able to trace through a component while in > the host. Sometimes this works, sometimes I get complaints Hi David

Components: Running uncompiled?

2017-05-04 Thread David Adams via 4D_Tech
I'm still working away on my components and I have another remedial question. I'd really like to be able to trace through a component while in the host. Sometimes this works, sometimes I get complaints that the component must be compiled. I've looked at the docs...and don't really get what the issu

Re: 4D server 12.6 on OSX 10.10.5?

2017-05-04 Thread Paul Lovejoy via 4D_Tech
Great. Thanks for the info. Paul > Le 4 mai 2017 à 09:56, Arnaud de Montard via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > >> Le 4 mai 2017 à 07:38, Paul Lovejoy via 4D_Tech <4d_tech@lists.4d.com> a >> écrit : >> >> Hi Arnaud, >> >> [...] >> What OS version are you running 4D Server on

Re: 4D server 12.6 on OSX 10.10.5?

2017-05-04 Thread Arnaud de Montard via 4D_Tech
> Le 4 mai 2017 à 07:38, Paul Lovejoy via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > Hi Arnaud, > > [...] > What OS version are you running 4D Server on? It's mac osX 10.10.5 "yosemite" (machine = mac mini unibody, users ~ 30). -- Arnaud de Montard ***