I just went back and tested the same code I started this thread with and found 
that $oCallerObject:=$1 works. Not sure why it did not work before. I am 
certain that the action property existed as by just replacing  
$oCallerObject:=$1 with $oCallerObject:=OB Copy($1) it would work. Also I spent 
a great deal of time looking at the object in the debugger and after  
$oCallerObject always remained undefined. Not anymore !!??!!

Sorry for the wild goos chase. 

John


> On Sep 3, 2017, at 7:04 AM, Jeremy French <[email protected]> wrote:
> 
> Have you looked at “$myCoolObject" in the Debugger? Does a property named 
> "action" exist?

> I just tried passing an object argument. The assignment in your line below 
> works, provided the object passed actually exists (i.e., is at a minimum an 
> empty object "{}"):
> 
> --
>     C_Object($myCoolObject;$1)
>     $myCoolObject:=$1
> --

Not sure why you are getting different results…


John Baughman
Kailua, Hawaii
(808) 262-0328
[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