PROCESS(3)

NAME

process, GENPAT Package

SYNOPSYS

void process_name(parameter, ...)
int/char/char * parameter;
  {
  ...
  }

DESCRIPTION

PROCESS permit to describe routine (C Language meaning), but with the subset of C language of GENPAT. They are always of type void (declared explicitely), they can't access to the variables of the parents and of the environment.

EXAMPLE

void horloge_1(pat,ckm,cks)
int pat;
int ckm,cks;
  {
  affect(conv(pat),"ck",conv(ckm),0);
  affect(conv(pat+1),"ck",conv(cks),0);
  }
void horloge_2(pat)
int pat;
  {
  for(i=0;i<10;i=i+2)
    {
    affect(conv(pat+i),"ck","1",0);
    affect(conv(pat+i+1),"ck",ZERO_B,0);
    }
  }

SEE ALSO
genpat(1), pat(5)