Chuck, From the docs on Get Pointer:
"The Get pointer command returns a pointer to the process or interprocess variable whose name you pass in varName." Regards, Narinder Chandi, ToolBox Systems Ltd. -- -----Original Message----- From: 4D_Tech <[email protected]> on behalf of 4D Tech Mailing List <[email protected]> Reply-To: 4D Tech Mailing List <[email protected]> Date: Wednesday, 7 August 2019 at 18:06 To: 4D Tech Mailing List <[email protected]> Cc: Chuck Miller <[email protected]> Subject: pointer issue Hi All, The following fails $MetalAmount_ptr:=Get pointer("$MetalAmount_"+String($MetalPos_L)+"_aR") $MetalAmount_ptr->{$Loop_L}:=$metalFactors_aR{$InnerLoop_L} When I changed arrays to process $MetalAmount_ptr:=Get pointer("MetalAmount_"+String($MetalPos_L)+"_aR") $MetalAmount_ptr->{$Loop_L}:=$metalFactors_aR{$InnerLoop_L} It seems even in the same method you can not have a pointer to a local array. I am not sure as to why. Any insight would be appreciated, as I know you can pass a pointer to local (i.e. $) array form method 1 to method 2 and that works. I would guess I could write a method but that seems kind of a worth around Thanks and regards Chuck ------------------------------------------------------------------------------------------------ Chuck Miller Voice: (617) 739-0306 Informed Solutions, Inc. Fax: (617) 232-1064 mailto:cjmiller<AT SIGN>informed-solutions.com Brookline, MA 02446 USA Registered 4D Developer Providers of 4D and Sybase connectivity http://www.informed-solutions.com ------------------------------------------------------------------------------------------------ This message and any attached documents contain information which may be confidential, subject to privilege or exempt from disclosure under applicable law. These materials are intended only for the use of the intended recipient. If you are not the intended recipient of this transmission, you are hereby notified that any distribution, disclosure, printing, copying, storage, modification or the taking of any action in reliance upon this transmission is strictly prohibited. Delivery of this message to any person other than the intended recipient shall not compromise or waive such confidentiality, privilege or exemption from disclosure as to this communication. ********************************************************************** 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] ********************************************************************** ********************************************************************** 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] **********************************************************************

