Roxen.git / server / modules / scripting / piketag.pike

version» Context lines:

Roxen.git/server/modules/scripting/piketag.pike:1:   // This is a roxen module. Copyright © 1996 - 2000, Roxen IS.   //   // Adds support for inline pike in documents.   //   // Example:   // <pike>   // return "Hello world!\n";   // </pike>    - constant cvs_version = "$Id: piketag.pike,v 2.32 2001/08/28 18:09:43 per Exp $"; + constant cvs_version = "$Id: piketag.pike,v 2.33 2001/08/30 12:24:00 jhs Exp $";   constant thread_safe=1;      inherit "module";   #include <module.h>      constant module_type = MODULE_TAG;   constant module_name = "Scripting: Pike tag";   constant module_doc = #"   <p>This module adds a processing instruction tag, <code>&lt;?pike ...   ?&gt;</code>, for evaluating Pike code directly in the document.</p>
Roxen.git/server/modules/scripting/piketag.pike:604: Inside #if defined(manual)
     <attr name='#include \"...\"'><p>    An #include preprocessor directive includes the specified file.</p>   </attr>      <attr name='#inherit \"...\"'><p>    An #inherit preprocessor directive puts a corresponding inherit    declaration in the class that's generated to contain the Pike code in    the tag, i.e. it inherits a specified file from the Roxen filesystem.</p>    -  <ex type='box'> -  -  <?pike -  +  <ex-box><?pike    //O <pre>    int first = 1;    for( var.counter=100; var.counter>1; var.counter--,first=0 )    {    if( !first )    {    //X &var.counter; bottles of beer on the wall    //O    }    //X &var.counter; bottles of beer on the wall    //X &var.counter; bottles of beer    //O take one down, pass it around    }    //O one bottle of beer on the wall    //O one bottle of beer    //O take it down, pass it around    //O no bottles of beer on the wall    //O </pre> -  -  ?> -  </ex> + ?></ex-box>   </attr>",       ]);   #endif