[racket] Compilation

From: José Lopes (jose.lopes at ist.utl.pt)
Date: Thu Mar 3 09:53:11 EST 2011

I have tried with the documentation examples, but nothing works.
Nevertheless, I followed your suggestion and I have rewritten the code 
to take a flag. Thank you!

Regards,
José Lopes

On 02-03-2011 17:48, Matthew Flatt wrote:
> At Mon, 28 Feb 2011 18:09:23 +0000, José Lopes wrote:
>> It seems that blind calls are working, although I have just performed
>> some small tests so far.
>>
>> I have replaced the line
>>
>>       pTypeDesc = getMethodType((MX_COM_Object *)argv[0], name, invKind);
>>
>> [...]
>>
>> Even though it is working, the error message is still being printed. How
>> can I supress it?
> See the exception-cathcing part of
>
>    http://docs.racket-lang.org/inside/exceptions.html#%28part._imz~3atempcatch%29
>
> but it's messy. A better solution is probably to change getMethodType()
> so that it takes a flag indicating whether to raise an exception or
> just return NULL.

-- 
José António Branquinho de Oliveira Lopes
58612 - MEIC-A
jose.lopes at ist.utl.pt



Posted on the users mailing list.