John,
thanks

I was typing a reply, and realized I had not tested something.
OB GET ARRAY(Object;Property;Object_Array) when the 'object array' is 
not an object array.

if the array in the object is NOT an actual object array, then 
Object_Array is set to the size of the array inside the object, BUT all 
elements are 'undefined'.

so..
if I find an array, I can extract it into an object array, and if 
element 1 is undefined it is NOT an actual object array, and if element 
1 is defined then it is an abject array and I can recursively call my 
new find in object array method!

Chip
On Mon, 21 Oct 2019 12:14:21 -0500, John DeSoi via 4D_Tech wrote:
> You can't determine the type of the array. I think you can load any 
> type into a text array, but then you would have to convert it. The 
> best option for internal use is to include a property that indicates 
> the type, i.e. use "type" and "value" pairs.
> 
> John DeSoi, Ph.D.
> 
> 
> 
>> On Oct 21, 2019, at 11:27 AM, Chip Scheide via 4D_Tech 
>> <[email protected]> wrote:
>> 
>> However, a longint array is NOT an object array, and vise verse.
>> So.... how do you determine the type of an array inside an object?
> 
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************
We have done so much, with so little, for so long;
We are now qualified to anything with nothing <sigh>
  - unknown
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to