[futurebasic] Re: [FB] SetResInfo name problem...

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : March 2001 : Group Archive : Group : All Groups

From: Robert Covington <artlythere@...>
Date: Fri, 30 Mar 2001 05:14:44 -0500 (EST)
<snips>
>>So Inside Mac is telling a fib or something? They didn't mention that,
>>though that was the workaround I was going to use.
>
>It may have something to do with differences between FB and 'some'
>other languages.  IM is a little vague about how to pass a blank name
>to the function.
>
>Change SetResInfo(thHandle,ID,name$) to SetResInfo(thHandle,ID,#_Nil)
>and it works fine.  A number of Toolbox functions are like this, they
>except a pointer to zero to mean 'ignore this parameter'

>Heather Donahue

Alain wrote:
>I would try to write something like this and see if it works:
>
>CALL SetResInfo(resH, resID, #_nil)

Both of you hit my mail at the same time. Tried that _nil earlier, but
without the #, so will test right now...

Works...MARVY. :) Thanks. "The Name ReMains The Same."

Thanks thanks thanks. Somebody tell Sylvain. ;)

Needless suffering should be avoided when programming. This is a tip I will
remember in the future.

I feel all _nilly right now.

Robert