---
name: "PGASetCharacterInitType"
section: "2"
platform: "linux"
package: "pgapack"
version: "1.1.1-3"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/PGASetCharacterInitType"
---

# PGASetCharacterInitType(2)

sets a flag to specify whether the character strings will be exclusively lowercase, exclusively uppercase, or a mixure of both cases.

## NAME

PGASetCharacterInitType - sets a flag to specify whether the character strings will be exclusively lowercase, exclusively uppercase, or a mixure of both cases.

## DESCRIPTION

Legal flags are PGA\_CINIT\_UPPER, PGA\_CINIT\_LOWER, and PGA\_CINIT\_MIXED.  Default is PGA\_CINIT\_LOWER.

## INPUT PARAMETERS

- ctx

  \- context variable

- value

  \- symbolic constant specifying which case

## OUTPUT PARAMETERS

- none

  ## SYNOPSIS

```
#include "pgapack.h"
void  PGASetCharacterInitType(ctx, value)
PGAContext *ctx
int value
```

## LOCATION

char.c

## EXAMPLE

```
Set program to generate exclusively uppercase letters
PGAContext *ctx;
:
PGASetCharacterInitType(ctx, PGA_CINIT_UPPER);
```
