My question regards getting similar information from integrate-and-fire cells. From what I've read in the other topic it sounds like there was a variable defined in the cell class called "pre." I browsed the intfire1.mod file and cannot find any reference to such a variable. Is it possible to extract pre-cell data from netcons involving intfire cells? If so, where can I look in the future to find out such things on my own, and by what means can I get this data?ted wrote:My mistake. The first line of the definition of myprecell() was supposed to be
obfunc myprecell() { localobj nil
If your code works with
obfunc myprecell() {
i.e. after deleting the declaration that nil is a localobj,
then there must have been a
localobj nil
statement somewhere else in your code at the top level, i.e. outside of any object.
For future readers of this thread: the corrected procedure isCode: Select all
// argument is a NetCon obfunc myprecell() { local nil // nil points to NULLobject if ($o1.precell() == nil) { return $o1.pre() } else { return $o1.precell() } }
Thank you.