---
name: "vhdlablvector"
section: "3"
platform: "linux"
package: "alliance"
version: "5.1.1-3"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/vhdlablvector"
---

# vhdlablvector(3)

gives the index and the name of a vectorized name.

## NAME

vhdlablvector - 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:%d0, Name, Index );
```

## SEE ALSO

[**abl**(1)](/abl/1.md), **ablvhdlname(3).**
