Can i use ref to a number counter?
If i understand correctly i get a ref valur by !ref_var, and i put value to
it with ref_var:= value.
But it seems i can't get to a number in a function, i am using this:
count= ref 4;
def playlist.module()
count:=count+1
end
playlist.module()
print(count)
and get the error:
"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"
------------------------------------------------------------------------------
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