On Sunday 11 October 2009 19:38:27 chromatic wrote:
> On Sunday 11 October 2009 16:19:04 Vadim Konovalov wrote:
> > the
> > http://docs.parrot.org/parrot/latest/html/docs/book/pir/ch04_variables.po
> >d. html reads:
> >
> >   $P0 = new 'Integer'
> >   $P0 = 5
> >
> >   $P1 = new 'String'
> >   $P1 = "5 birds"
> >
> >   $P2 = new 'Number'
> >   $P2 = 3.14
> >
> > the first 2 are no problems, but I can't use the last, due to the
> > following error:
> >
> > Class 'Number' not found
>
> Hm, that should be 'Float'.

Thanks for all who answered,
the mentioned docs should be updated, then...

Regards,
Vadim.
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev

Reply via email to