[Xerte] Scope of user defined object?

Dave Burnett d_b_burnett at hotmail.com
Tue Dec 29 16:05:12 GMT 2009


I checked with Find and could only find 2 references.
The initial instantiation and the request for a value from that object (after the function is called and the event broadcast)

The object is called help_defs

No, it does not exist before I define it.
help_defs = new Object();
help_defs.Atomic = "Rooster";
debug(help_defs);

It debugs as an object all down the flow line until I call the function, which broadcasts an event, below that event, debug shows the _level0.engine stuff instead of an object.


Subject: RE: [Xerte] Scope of user defined object?
Date: Tue, 29 Dec 2009 15:45:20 +0000
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk










is something colliding?
 
What's your object called?
 
Does it exist before you define it?



From: xerte-bounces at lists.nottingham.ac.uk on behalf of Dave Burnett
Sent: Tue 29/12/2009 15:07
To: Xerte list
Subject: [Xerte] Scope of user defined object?



I have a function defined immediately below my IFC main page.
In a script immediately below that, I create an object.

When I debug that object in various places down the flow, I get "object Object" as expected, until it looks like, I invoke the function, which broadcasts an event.

When I debug for my object below that event, I get 

_level0.engine.IFC.PG_MC1.FW_MC3.FW_ENT.Int_MC1.RESP4.Int_MC5.RESP2

which looks like a reference to the event response itself.

I'm buffaloed. 


Hotmail: Trusted email with Microsoft’s powerful SPAM protection. Sign up now.  		 	   		  
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/171222985/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20091229/bc045d28/attachment.html


More information about the Xerte mailing list