[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ns Object Slot numbers



On Wed, 01 Sep 1999 15:04:52 -0000, "Christopher May" wrote: 
>Hi everyone,
>
>I was wondering if anyone knows how to access/view an ns objects slot number 
>from an ns script? I need to compare slot numbers obtained in C++ with those 
>in ns. If anyone knows could they please let me know. Thanks in advance

Given a classifier $cl, [$cl slot $n] command tells you the object in
slot n.

gen-map (described at
<http://www-mash.cs.berkeley.edu/ns/ns-debugging.html>) maps in the
other direction.

   -John Heidemann