> Le 6 janv. 2017 à 22:01, Dennis, Neil <[email protected]> a écrit :
>
> [...]
> The only alternative that I'm aware of is to use a case on the type of the
> pointer to find the array type then copy to a local and pass a pointer to the
> local array element.
Same thing here.
> What you were thinking earlier (->($Current_Array->{0});"") logically should
> work, but neither the compiler nor 4D likes this syntax.
There are turn around:
- RESOLVE POINTER + EXECUTE FORMULA
- API Get Array Item Pointer
Unfortunately they never work when used between host and component - I suppose
because one never knows variables from the other.
I gave up to choose the request way:
<http://forums.4d.fr/Post/FR/16664626/1/16664703#16664627>
<http://forums.4d.fr/Post/FR/15016088/0/0/>
--
Arnaud de Montard
**********************************************************************
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]
**********************************************************************