vhdlablvector(3) gives the index and the name of a vectorized name.

SYNOPSYS

#include "abl101.h"
char *vhdlablvector( Name, Index )
  char *Name;
  long *Index;

PARAMETERS

Name
A vectorized name.
Index
A pointer to long.

DESCRIPTION

vhdlablvector searches the index of a vectorized name, and the vector's name.

RETURN VALUE

If Name is a vectorized name, vhdlablvector returns the vector's name using namealloc, and its index throw Index. Otherwise, it returns a null pointer.

EXAMPLE

#include "abl101.h"
   long Index;
   char *Name;
   Name = vhdlablvector( "vec 2", &Index );
   /* displays Name:vec, Index:2  */
   printf( "Name:%s, Index:%d, Name, Index );