[Bro] default function not get called in Table ...
Navdeep Singh
navdeepsuri13 at gmail.com
Wed Aug 5 22:22:30 PDT 2009
Hi everyone
I have a got a problem. I want to call a function called world but it is
throwing the following error:
line 1: error: unknown identifier world, at or near "world"
global a: table[count] of string &default = world;
a[1] = "navdeep";
a[2] = "singh";
print a[2];
function world(): string
{
print "hello world";
}
Please resolve the problem.
Regards
Navdeep
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20090806/295ea137/attachment.html
More information about the Bro
mailing list