hi,

I have 2 questions wrt PIR parameter notation and usage.

I'm not quite sure how I should specifiy the flags when using get_params, instead of the .param notation. according to PDD03, flag "3" is for specifiying slurpy parameters. Should I type:

   get_params "(3)", $P0

to say $P0 is a slurpy array?
(this doesn't work).

Also, according to the syntax docs of PIR, it should be possible to write:
(taken from: http://www.parrotcode.org/docs/imcc/syntax.html)

   .param $P0 <flags>

so, using registers, not names. This does not work currently, but it's in the docs. Should it be working?

regards,
klaas-jan




Reply via email to