<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Hi everybody,<BR>
I have a doubt with a function definition......<BR>
<BR>
<a link= {transactions (r.Symbol,r.Shares)}> (I am sending two parameters with transactions)<BR>
<BR>
and the function definition that I have given is<BR>
<BR>
transactions (i:string,j:int)= return<BR> <xml><BR> <body><BR> <h2>{[i]} and {[j]}</h2><BR> </body><BR> </xml><BR><BR>
Error:<BR>
Can't unify record constructors<BR>Summary 1: [#1 = Basis.string, #2 = Basis.int]<BR>Summary 2: [#1 = Basis.string, #2 = Basis.string]<BR> Field: #2<BR> Value 1: Basis.int<BR> Value 2: Basis.string<BR>Incompatible constructors<BR>Con 1: Basis.int<BR>Con 2: Basis.string<BR><BR>Can somebody please let me know what is the problem in calling a function with two parameters....<BR>
<DIV><FONT color=#5f497a><STRONG>Kirupashankar Sampath</STRONG></FONT></DIV>
<DIV><FONT color=#5f497a><STRONG>7907 N Backer Ave,</STRONG></FONT></DIV>
<DIV><FONT color=#5f497a><STRONG>Fresno, CA 93720.</STRONG></FONT></DIV>
<DIV><STRONG><FONT color=#5f497a>Ph: 817-715-5576</FONT> <BR></STRONG></DIV> </div></body>
</html>