-
Sorry, copied wrong code. It should be this:
public static int ParseInt(string s, int iIndex, int iLen)
{
int iStop = iIndex + iLen;
int iValue = 0;
int multiplier = 1;
if(s[iIndex] == '-')
{
multiplier = -1;
iIndex++;
}
for (int i = iIndex; i...
2009-05-11 20:05:48 UTC in FIX4NET
-
Not sure if it is intended, but the ParseInt function is only valid for positive integers.
This is what I mod'd it to:
public static int ParseInt(string s, int iIndex, int iLen)
{
int iStop = iIndex + iLen;
int iValue = 0;
if(s[iIndex] == '-')
iIndex++;
for (int i = iIndex; i < iStop; i++)
iValue = (iValue * 10) + (s[i] - 48);
return s[iIndex] == '-' ? iValue * -1...
2009-05-11 19:51:04 UTC in FIX4NET
-
Okay. I thought that was the case. I wanted to make sure I didn't have something missing from source.
-jd-.
2009-04-06 21:13:29 UTC in FIX4NET
-
I have the 4.4 code. You mind telling me what file(s) the Repeating groups are in?
Thanks,
-jd-.
2009-04-06 20:55:57 UTC in FIX4NET
-
How does MessageFactory parse incoming message which have Groups or Sequences?
Example:
SecurityDefinition(d) : InstrmtLegGrp
I'm not seeing anything in the code which parses the group field specifically.
Thanks,
-jd-.
2009-04-06 20:32:44 UTC in FIX4NET