Specifications

FillA
680 InfoMaker
This expression returns the string -+-+-+-:
Fill("-+", 7)
This expression returns 10 tildes (~):
Fill("~", 10)
See also FillA
Space
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 )
Return value
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 Fill
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