Esempio n. 1
0
globle void PPDefmoduleCommand(
  void *theEnv)
  {
   char *defmoduleName;

   defmoduleName = GetConstructName(theEnv,"ppdefmodule","defmodule name");
   if (defmoduleName == NULL) return;

   PPDefmodule(theEnv,defmoduleName,WDISPLAY);

   return;
  }
Esempio n. 2
0
void PPDefmoduleCommand(
  UDFContext *context,
  CLIPSValue *returnValue)
  {
   const char *defmoduleName;
   void *theEnv = UDFContextEnvironment(context);

   defmoduleName = GetConstructName(context,"ppdefmodule","defmodule name");
   if (defmoduleName == NULL) return;

   PPDefmodule(theEnv,defmoduleName,WDISPLAY);

   return;
  }