Xbasic

FUNCTION_DESCRIPTION_GET Function

Syntax

OutputString as C = FUNCTION_DESCRIPTION_GET(C function)

Arguments

OutputString

The description of a function.

function

The name of a function as returned by FUNCTIONS_GET().

Description

The FUNCTION_DESCRIPTION_GET function returns the description of a function.

Example

dim flist as C
dim fdesc as C
dim func as C
dim i as N
flist = functions_get("*", "F")
fcount = line_count(flist)
for i = 1 to fcount
    func = word(flist, i, crlf() )
    fdesc = fdesc + func + chr(9) + function_description_get(func) + crlf()
next i
file.from_string("c:\functions.txt", fdesc)

See Also