Thomas,
it always depend on your needs, or the level of information you will / need to provide. I normaly get paid for your function, not a single line more. ::)
Agnes
>Hi Agnes,
>
>you've got a point. Perhaps I am a bit too focused on looking behind the scene. :-)
>
>I will reduce it to this:
>
>
>FUNCTION TestWin32ApiFunctionality
> LOCAL llReturn as Boolean
> llReturn = .F.
> TRY
> * Declare WIN32API call
> DECLARE INTEGER GetEnvironmentStrings IN WIN32API
> llReturn = .T.
> CATCH
> * Throw message
> MESSAGEBOX([Unable to declare..blabla],0+16+0,[Info])
> ENDTRY
> RETURN llReturn
>ENDFUNC
>
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]