Xbasic

UNDECLARE

UNDECLARE is deprecated and slated for removal in a future release. Use .NET Integration instead.

Syntax

UNDECLARE Function_Name

Arguments

Function_Name

The name of the function.

Description

UNDECLARE removes an externally defined function (for example a Windows API function).

Example

Declare some structures to use - a rectangle and a 1024 character buffer.

declare user32 GetWindowRect LL(rect)
declare user32 gwt@GetWindowText LL(text) as L
undeclare GetWindowRect
undeclare gwt@GetWindowText

See Also