ALANGUAGE( ) Function

Returns an array containing the names of all valid Visual FoxPro commands, functions, or base classes.

ALANGUAGE(ArrayName, nType)

Parameters

ArrayName

Specifies the name of the array to contain the language items. If the array doesn't exist, Visual FoxPro automatically creates the array. If the array exists and isn't large enough to contain all the data, Visual FoxPro automatically increases the size of the array to accommodate the information. If the array is larger than necessary, Visual FoxPro truncates the array.

nType

Specifies the type of language item returned, according to the following list:

Value Description Array Type

1

Commands

One-dimensional:    Command name

2

Functions

Two-dimensional:

Function name   [M] nParamR [- nParamT]

The matchFlag, M, specifies that you must use the full    function name in code.nParamR specifies the number of required parameters. nParamT specifies total number of possible parameters.

3

Base classes

One-dimensional:

Base Class name

4

DBC Events

One-dimensional:

DBC event name (The displayed name omits the "DBC_" prefix of the event name.)

Expand imageRemarks

Expand imageExamples

Expand imageSee Also


© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic