Ok, thanks a lot.

Em 3 de outubro de 2011 11:05, David Baelde <[email protected]>escreveu:

> Hi Fabio,
>
> 2011/10/3 Fábio Costa <[email protected]>:
> > count= ref 4;
> > def playlist.module()
> >     count:=count+1
> > end
> > "At line 4, char 14:
> >   this value has type
> >     ref(int) (infered at line 2, char 8-12)
> >   but it should be a subtype of
> >     something that is a number typ"
>
> You're adding 1 to count, but count is not an int, it's a reference to
> an int. You just forgot to get its value: you should have written
> !count+1.
>
> Cheers,
> --
> David
>
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to