Hi all,
I found this snippet, but not sure where to put it ?
It is crashing if I put it inside run().
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 = Values[Num-1]; // end balance
printf("\n%s: %.2f",Name,Profit);
}