TESTER.C

LIB3/W/NEWSTYLE/TESTER.C · 239 B

From the archive nm4dos.zip

Download the archive   « Back to the archive contents

inherit "/std/object";

setup()
{
set_name("tester");
set_short("tester");
set_long("Test to use it.\n");
}

init()
{
::init();
add_action("do_test", "tes*t");
}

int do_test()
{
  write("Its a test!\n");
  return 1;
}

Site Stats

Snippets: 1791
Codebases: 571