AFONT()

From Recital Documentation Wiki
Jump to: navigation, search

Purpose

Function to load available font name information into an array


Syntax

AFONT(<array-name> [,<expC> [,<expN>]])


See Also

AADD(), AAVERAGE(), ABROWSE(), ACHOICE(), ACOL(), ACOPY(), ADEL(), ADESC(), ADIR(), AELEMENT(), AFIELDS(), AFILL(), AINS(), ALEN(), AMAX(), AMIN(), APPEND FROM ARRAY, AROW(), ASCAN(), ASIZE(), ASORT(), ASTORE(), ASTRING(), ASUBSCRIPT(), ASUM(), COPY TO ARRAY, DECLARE, DIMENSION, FONTMETRIC(), GATHER, GETFONT(), LOCAL, PRIVATE, PUBLIC, RELEASE, RESTORE, SAVE, SCATTER, WFONT()


Description

The AFONT() function loads the names of available fonts into a pre-declared array.


Parameters Description
<array-name> The name of a pre-declared array in which to load font information. The array will be resized (truncated or increased to fit).
<expC> The <expC> can be used to optionally specify a particular font. This is included for language compatibility only.
<expN> The <expN> can be used to optionally specify a particular font size. This is included for language compatibility only.


Example

declare a_font[10]
afont(a_font)
mchoice = 0
@10,10 get mchoice from a_font function "&"
read


Products

Recital Mirage