On Mon, Nov 27, 2006 at 03:15:17PM -0800, Bob Wilkinson wrote:
> # New Ticket Created by  Bob Wilkinson 
> # Please include the string:  [perl #41000]
> # in the subject line of all future correspondence about this issue. 
> # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=41000 >
> 
> My second 10 line parrot program didn't compile, so I looked at the
> examples at http://www.parrotcode.org/examples/pasm.html, and pasted
> the following into a file.
> 
> [EMAIL PROTECTED]:~/src/parrotcode$ cat ex1.pasm
> new P0, .PerlInt
> set P0, 123
> new P1, .PerlInt
> set P1, 321
> add P1, P1, P0
> print P1
> print "\n"
> end
> [EMAIL PROTECTED]:~/src/parrotcode$ ../parrot-0.4.7/parrot ex1.pasm
> error:imcc:syntax error, unexpected DOT
>         in file 'ex1.pasm' line 1
> 
> I am not sure how to proceed.

I think the example is out of date.  IIRC, the .PerlInt type
was removed some time ago, and so the code above should now
use ".Integer" instead of ".PerlInt".

Pm

Reply via email to