* we assume no DLL is declared yet * next line calls the function, the function declares and call the dll ShellExecute( .... * next line calls the the dll directly, because dll has precedence over function ShellExecute( .... * oops, a fool clear the dlll clear dlls ShellExecute * next line calls the function again, since the dll is not longer declared ShellExecute( .... *repeat until false FUNCTION ShellExecute (tHWND, tlpVerb, tlpFile, tlpParameters, tlpDirectory, tnShowCmd) DECLARE INTEGER ShellExecute IN "Shell32.dll" ; INTEGER HWND, ; STRING lpVerb, ; STRING lpFile, ; STRING lpParameters, ; STRING lpDirectory, ; LONG nShowCmd RETURN ShellExecute (tHWND, tlpVerb, tlpFile, tlpParameters, tlpDirectory, tnShowCmd ) Endfunc