Le Mon, Jan 19, 2004 at 11:56:28AM -0500, le valeureux mongueur Will Coleda a dit:
> Trying to get the tcl interpreter working with all the changes in the 
> past few months:
> 
> I used to be able to say:
> 
> .pcc_sub _dumper prototyped
>   .param PMC original
> 
> ... but now PMC isn't a valid type anymore. Is there another way to get 
> an IMC variable name tied to a PMC of indeterminate type? (or am I 
> stuck with the ".param $P1" syntax?)
> 
> 
> Also,
> 
> .pcc_sub _main prototyped
>   .param var argv
> 
> used to work (causing argv to get populated properly with the command 
> line arguments, when _main was the first sub defined). var isn't a 
> valid type anymore either. I don't see anything in ./imcc/docs that 
> covers command line arguments. Is the right solution to use one of the 
> array types in the declaration here? (and, if so, which one?)

In both case you should use C<pmc> instead of C<PMC>,
respectively C<var>.

--
 stef

> 
> Regards.
> --
> Will "Coke" Coleda                                    will at coleda 
> dot com
> 

Reply via email to