Let's say you have this in a textfile
So in this example 1.1-2.0 and 1.1-2.1 are dependant on 1.1Code:1.0 1.1 1.1-2.0 1.1-2.1 1.2 1.2-2.0 1.2-2.1 1.2-2.2 1.3
I want to be able to delete a row from this text file but I need to rebuild it correctly again.
Deleting 1.1 now leads to this: (that's how far I got)
As you can see, 1.2 doesn't follow up 1.0 and so my app crashes...Code:1.0 1.2 1.2-2.0 1.2-2.1 1.2-2.2 1.3![]()
The right output would be:
It's getting a bit to difficult for me. My brains are starting to boil.Code:1.0 1.1 1.1-2.0 1.1-2.1 1.1-2.2 1.2![]()
Does somebody know how to write the procedure to do that last thing I explained?
Pls help me on this one...
Thx a lot allready...




Reply With Quote