Contexts aren't free-standing objects; every context is part of a job. Each agent participating in a job gets a context within that job. There is some documentation on this stuff at https://github.com/NetLogo/NetLogo/wiki/Engine-architecture . (And if anything is unclear or too briefly described, I'm happy to expand it on request, if you can identify what part needs work.)
There are different answers to "how do I run an arbitrary reporter block" depending on where you're trying to do it from. Are you already on the job thread? If so, are you already inside one primitive's `report` or `perform` method, or are you in some other place? Or are you on a different thread? All of these distinctions matter. If you're on a different thread, then you need to submit a job through the job manager. If you're already inside a `report` or `perform` method, then see e.g. how `_with.report` does it. (And if you're on the job thread but you're not inside a `report` or `perform`, where are you?) Can you be more precise about *exactly* what you are trying to do and *exactly* where you want to do it from? Fine distinctions on this are crucial. Seth -- You received this message because you are subscribed to the Google Groups "netlogo-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
