[futurebasic] Re: When to dispose of Hndl& and Ptr&?

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : December 1997 : Group Archive : Group : All Groups

From: BMichael <BMichael@...>
Date: Fri, 5 Dec 1997 11:20:18 EST
> By the way, it's always good to write the DISPOSHANDLE
>call like this for safety
>     IF H& THEN DEF DISPOSEH(H&)
>This way, if you've already disposed of the handle then you won't try to
>dispose of it twice and possibly cause a system crash.

DEF DISPOSEH doesn't need the "IF" test, because it already does one.

Bill