[IronPython] Getting an error while Passing Dictionary to a function
saurabh rawat
rawatsaurabh at yahoo.co.in
Thu Oct 14 06:48:37 PDT 2010
I Am trying to pass a dictionary element to a function but even though the function takes 3 arguments , it is showing error as ERROR: Func() takes exactly 4 arguments (3 given).
Why is it happening.is there a problem in Dictionary Porting from .NET. to IronPython
public struct callCounters
{
public double callReceivedTimer;
public double callDialledTimer;
public double callAllTimer;
public double callLifeTimer;
}
callValue = Dictionary[DateTime, callCounters]()
prototype for Func()
void func(string casename, DateTime time, Dictionary <<DateTime>,<user defined Structure>)
Function call
func(casename, time, callValue )
ERROR: Func() takes exactly 4 arguments (3 given).
Plz assist.
Rgds,
Saurabh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20101014/88295cad/attachment.htm>
More information about the Users
mailing list