I porting now my program from C to nim. I plan to describe my journey with 
separated article. Currently I have worried about calculating offset/index of 
item in sequence (sequence is something rather similar to array or an list?). I 
have found an solution on this forum, but I doubt it works any time. It is 
truth item could be placed descending or ascending, but with the same first 
element array? I mean a[0].addr = 2, a[1].addr = 1 or a[0].addr = 1, a[1].addr 
= 2?

Reply via email to