Thanks
I saw that solution... but since the method
utl_text_Convert_From_Text
does the same/similar thing I was trying not to duplicate functionality.
I know I have used smiler syntax to
->($Current_Array->{0})
in other places.... but probably not with an array element
On Fri, 6 Jan 2017 21:01:23 +0000, Dennis, Neil wrote:
>> However, it might be useful to know how to go about setting to
>> be able to pass a pointer in this manner.
>> ANy more IDeas?
>
> 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. It is not practical for your
> specific needs but will work in the general case... so for academic
> sake here is one way...
>
> Case of
> : (Type($Current_Array->)=Text array)
> ARRAY TEXT($atTemp;0)
> COPY ARRAY($Current_Array->;$atTemp)
> $pParam:=->$atTemp{0}
> // ... other array types here
> End case
> utl_text_Convert_From_Text (pParam;"")
>
> What you were thinking earlier (->($Current_Array->{0});"") logically
> should work, but neither the compiler nor 4D likes this syntax.
>
> Neil
>
>
>
>
>
>
>
>
> --
>
>
> Privacy Disclaimer: This message contains confidential information
> and is intended only for the named addressee. If you are not the
> named addressee you should not disseminate, distribute or copy this
> email. Please delete this email from your system and notify the
> sender immediately by replying to this email. If you are not the
> intended recipient you are notified that disclosing, copying,
> distributing or taking any action in reliance on the contents of this
> information is strictly prohibited.
>
> The Alternative Investments division of UMB Fund Services provides a
> full range of services to hedge funds, funds of funds and private
> equity funds. Any tax advice in this communication is not intended
> to be used, and cannot be used, by a client or any other person or
> entity for the purpose of (a) avoiding penalties that may be imposed
> on any taxpayer or (b) promoting, marketing, or recommending to
> another party any matter addressed herein.
> **********************************************************************
> 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]
**********************************************************************