Xbasic

FUNCTION_PROTOTYPE_GET Function

Syntax

OutputString as C = FUNCTION_PROTOTYPE_GET(C function)

Arguments

OutputString

The prototype for the named function.

function

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

Description

The FUNCTION_PROTOTYPE_GET() function returns the prototype for the named 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_prototype_get(func) + chr(9) + function_limitations_get(func) + chr(9) + function_description_get(func) + crlf()
next i
file.from_string("c:\functions.txt", fdesc)

See Also