Hi everybody,
 I have a doubt with a function definition......
 
<a link= {transactions (r.Symbol,r.Shares)}> (I am sending two parameters with 
transactions)
 
and the function definition that I have given is
 
 transactions (i:string,j:int)= return
                <xml>
                <body>
                <h2>{[i]} and {[j]}</h2>
                </body>
                </xml>

Error:
Can't unify record constructors
Summary 1:  [#1 = Basis.string, #2 = Basis.int]
Summary 2:  [#1 = Basis.string, #2 = Basis.string]
    Field:  #2
  Value 1:  Basis.int
  Value 2:  Basis.string
Incompatible constructors
Con 1:  Basis.int
Con 2:  Basis.string

Can somebody please let me know what is the problem in calling a function with 
two parameters....
Kirupashankar Sampath
7907 N Backer Ave,
Fresno, CA 93720.
Ph: 817-715-5576 
                                          
_______________________________________________
Ur mailing list
[email protected]
http://www.impredicative.com/cgi-bin/mailman/listinfo/ur

Reply via email to