I'm trying to convert a FOR loop from C to Delphi, but I'm with some doubts:
I know this code in C:
for (i = 0; i < mb->size; i++)
{
//...
}
is like this in Delphi:
for i := 0 to mb.size do
begin
//...
end;
But how is this C code:
for (i = 0; i < mb->size; i+= mb->data_size)
{
//...
}
might look in Delphi?
?