Ah, since the wiki pages were separated, I thought there were two
mutually exclusive uses of nsvs.  It might be worth updating the docs
to have an example where an nsv is set with syntax such as "nsv_set foo
bar 0" and then "nsv_array names foo" returns bar.  The current
examples have a clear split between the two methods of accessing nsvs.

thanks!
--dan

----------------------------------------
               dan chak
web:            http://www.chak.org

On Jan 3, 2005, at 11:38 PM, Andrew Piskorski wrote:

On Mon, Jan 03, 2005 at 11:28:11PM -0800, Dan Chak wrote:

Is there a method to get the keys of a given nsv?  There is an
nsv_names function, but this returns the names of nsv's in use, not
the
keys for a particular nsv.

nsv_array names

The documentation doesn't describe such a method, if it exists.
http://panoptic.com/wiki/aolserver/1311

Sure it does: http://panoptic.com/wiki/aolserver/845

--
Andrew Piskorski <[EMAIL PROTECTED]>
http://www.piskorski.com/


-- AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to
<[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the
Subject: field of your email blank.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to