Hi

In the snippet code that read balance curves.

Quote:
byte *Content = file_content("Log\\Balance.curves");
while(*Content)
{
string Name = Content;
Content += strlen(Name)+1; // skip the name
int *Size = Content;
Content += 4; // skip the size
var *Values = Content;
Content += *Size; // skip the balance array
int Num = *Size/8; // number of values
var Profit = Value[Num-1]; // end balance
printf("\n%s: %.2f",Name,Profit);
}


it should be: var Profit = Values[Num-1];