FillA

Description

Builds a string of the specified length in bytes by repeating the specified characters until the result string is long enough.

Syntax

FillA ( chars, n )

Argument

Description

chars

A string whose value will be repeated to fill the return string

n

A long whose value is the number of bytes in the string you want returned

Returns

String. Returns a string n bytes long filled with repetitions of the characters in the argument chars. If the argument chars has more than n bytes, the first n bytes of chars are used to fill the return string. If the argument chars has fewer than n bytes, the characters in chars are repeated until the return string has n bytes.

Usage

FillA replaces the functionality that Fill had in DBCS environments in InfoMaker 9. In SBCS environments, Fill and FillA return the same results.

See also