Re: Help->v11 to v17 Upgrade or New?

2018-10-21 Thread Walt Nelson via 4D_Tech
Folks, I would like to suggest you (if you haven’t already) check out a paid product from the Foundation Shell App Store by Robert Livingston for a 4D database solution to storing the text from all your methods and object methods automatically. ArchiveMethod

Re: Help->v11 to v17 Upgrade or New?

2018-10-21 Thread Dani Beaubien via 4D_Tech
I am not uploading directly from 4D. I thought about implementing that but decided against it since 4D is going that direction them selves. Waiting to see what they come up with. My workflow is to use the Code Analysis component to export all my code, 4D Structure and form properties (gathered

Re: Shared Object - NOT!

2018-10-21 Thread Peter Bozek via 4D_Tech
On Sun, Oct 21, 2018 at 7:36 PM Kirk Brooks via 4D_Tech < 4d_tech@lists.4d.com> wrote: > > > Personally I have a lot of concepts about how to do code operation in 4D > that are strongly rooted in what it was possible to do in 4D. ORDA > frequently goes in a different direction and the optimal

Re: Shared Object - NOT!

2018-10-21 Thread Keisuke Miyako via 4D_Tech
it's a silly example anyway, but to be clear, cat:=New collecrtion(cat;cat;cat) cat[0].food:="prawn" should read cats:=New collection(cat;cat;cat) and cats[0].food:="prawn" ** 4D Internet Users Group (4D iNUG) Archive:

Re: Shared Object - NOT!

2018-10-21 Thread Keisuke Miyako via 4D_Tech
the sharing of process sets and named selections between a client process and its server twin process seems to me like a very deliberate feature. http://doc.4d.com/4Dv15/4D/15.6/4D-Server-Sets-and-Named-Selections.300-3838966.en.html for those who are not familiar with this feature, a process

Re: Shared Object - NOT!

2018-10-21 Thread Kirk Brooks via 4D_Tech
Peter, On Sun, Oct 21, 2018 at 5:04 AM Peter Bozek via 4D_Tech < 4d_tech@lists.4d.com> wrote: > On Sun, Oct 21, 2018 at 12:41 PM Keisuke Miyako via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > the request is more like, > > "I want to make a query in process B change the current selection of > >

Re: Shared Object - NOT!

2018-10-21 Thread Kirk Brooks via 4D_Tech
Miyako, On Sat, Oct 20, 2018 at 9:29 PM Keisuke Miyako via 4D_Tech < 4d_tech@lists.4d.com> wrote: > if you do the same across processes, > i.e. pass a New object or New collection to New process, CALL WORKER or > CALL FORM, > the object or collection is not shared between the 2 methods, caller

Re: Shared Object - NOT!

2018-10-21 Thread Chip Scheide via 4D_Tech
Not to mention how much old/legacy code would likely break > > the language might be more consistent if 4D got rid of all native > scalar types and treating everything as an object, > but there is a performance advantage (memory footprint and speed) in > having scalar native types.

Re: Shared Object - NOT!

2018-10-21 Thread Keisuke Miyako via 4D_Tech
in addition to the distinction between shared and non-shared objects, we need to be aware of the distinction between objects and non-objects. the 4D language is different from script coding languages such as JS or PHP, in that scalar types such as boolean, long, date, time are not objects. they

Re: Shared Object - NOT!

2018-10-21 Thread Peter Bozek via 4D_Tech
On Sun, Oct 21, 2018 at 12:41 PM Keisuke Miyako via 4D_Tech < 4d_tech@lists.4d.com> wrote: > you will probably not like my answer, but here goes. > > for creating a shared collection from a 4D array, > ARRAY TO COLLECTION has a special syntax that does just that. > the trick is to pass a New

Re: Shared Object - NOT!

2018-10-21 Thread Keisuke Miyako via 4D_Tech
you will probably not like my answer, but here goes. for creating a shared collection from a 4D array, ARRAY TO COLLECTION has a special syntax that does just that. the trick is to pass a New shared collection to the command. http://doc.4d.com/4Dv17/4D/17/ARRAY-TO-COLLECTION.301-3730916.en.html

Re: Shared Object - NOT!

2018-10-21 Thread Peter Bozek via 4D_Tech
On Sun, Oct 21, 2018 at 6:29 AM Keisuke Miyako via 4D_Tech < 4d_tech@lists.4d.com> wrote: > > the best way to share an object or collection between processes is to pass a shared object or shared collection as a parameter. > there is no need to use Storage, there is no need to use interprocess