fredericplante / beta-lib

Automatically exported from code.google.com/p/beta-lib
0 stars 0 forks source link

how to Delete/substitute a line content #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Any example as how to use a CSV file as a CRUD (create, read, update, delete) 
system? So we'll have a SDFat powerful database.

it's me again... 

Reading and writing now are done.. but:
1- i use curPosition() to get the cursor position of a line and some math to 
know que position of first character from te interest line;
2- the a seek to this position (first line character);
3- call writeln_P, write, writeln, println... and aways the new line content is 
send to the end of file, like a append (it's not the idea, i need to substitute 
a line.
Is there a way to do this?

Agais, thanks and sorry for the bad english

Original issue reported on code.google.com by jonatas....@gmail.com on 3 Nov 2012 at 1:25

GoogleCodeExporter commented 8 years ago
See your other post.

Original comment by Bill.Gre...@gmail.com on 3 Nov 2012 at 2:43