Description |
Used with the Declare statement to indicate that type checking is not to be performed with a given argument. |
Comments |
Given the following declaration: Declare Sub Foo Lib "FOO.DLL" (a As Any) The following calls are valid: Foo 10 |
Example |
The following example calls the FindWindow to determine if Program Manager is running. This example uses the Any keyword to pass a NULL pointer, which is accepted by the FindWindow function. Declare Function FindWindow16 Lib "user" Alias "FindWindow" (ByVal Class _ As Any,ByVal Title As Any) As Integer Declare Function FindWindow32 Lib "user32" Alias "FindWindowA" (ByVal Class _ Sub Main() If Basic.Os = ebWin16 Then If hWnd <> 0 Then |
See Also |
Declare (statement). |
A |