Chip:

"the feature maybe that old ...
but I have never had a need to use it before now.
:)"

So it was there when you needed it! :-)

After my previous posting, I found a document from August 1993 entitled
"Finding with Find in Array". It looks like a draft of a Dimensions article
and reads, in part, "With the release of version 3 of 4th Dimension…we are
now able to use the function Find in array [with] arrays of pointers"


--
Douglas von Roeder
949-336-2902

On Tue, Oct 4, 2016 at 1:57 PM, Chip Scheide <[email protected]>
wrote:

> the feature maybe that old ...
> but I have never had a need to use it before now.
> :)
>
> On Tue, 4 Oct 2016 13:42:05 -0700, Douglas von Roeder wrote:
> > Chip:
> >
> > Hmm…
> >
> > Find in array with pointer arrays was introduced quite some time ago.
> >
> > That was one of the new features in 2.2.3 or it *could* have been a
> feature
> > in V3. I think it was V2 because I was working on a project where I
> really
> > needed that functionality (GANTT charts in AreaList Pro!!) and that
> project
> > never saw the light of day with 4D Server/4D Client.
> >
> >
> >
> > --
> > Douglas von Roeder
> > 949-336-2902
> >
> > On Tue, Oct 4, 2016 at 1:30 PM, Chip Scheide <[email protected]>
> > wrote:
> >
> >> Given an array of pointers (in this case pointers to fields)
> >>
> >> Find in Array will find a pointer to the a field, if it exists, in the
> >> array!
> >>
> >> Ex:
> >> using Get Listbox Arrays, on a selection listbox, we populate
> >> aryptr_Column_Vars with pointers to the fields being displayed.
> >> We populate $My_Pointer with a pointer to one of the fields
> >> $My_Pointer := ->[Taale1]Field1
> >>
> >> (assuming [Table1]Field1 is displayed in the listbox)
> >>
> >> Find In Array(aryptr_Column_Vars;$My_Pointer) returns the location
> >> (column number) of the field pointer in the array
> >>
> >> Chip
> >> **********************************************************************
> >> 4D Internet Users Group (4D iNUG)
> >> FAQ:  http://lists.4d.com/faqnug.html
> >> Archive:  http://lists.4d.com/archives.html
> >> Options: http://lists.4d.com/mailman/options/4d_tech
> >> Unsub:  mailto:[email protected]
> >> **********************************************************************
> > **********************************************************************
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: http://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:[email protected]
> > **********************************************************************
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************
>
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to