Re: [Plugins-writers] NASL Hashes

From: Michel Arboi (mikhail@private)
Date: Sat Jan 13 2007 - 00:26:39 PST


On Sat, 13 Jan 2007 01:26:31 -0600
"Paul Bellefeuille" <nessusd@private> wrote:

> If I make a hash using the following command: 
> myhash = make_array('va_4',"did this work");

If this is so simple, you can just write:
myhash['va_4'] = "did this work";

> How would I push addition information into hash (myhash) while
> retaining the original information??

myhash['answer'] = 42;

Now myhash contains two elements.
_______________________________________________
Plugins-writers mailing list
Plugins-writers@private
http://mail.nessus.org/mailman/listinfo/plugins-writers



This archive was generated by hypermail 2.1.3 : Sat Jan 13 2007 - 00:27:18 PST