>I am Trying a old Clipper application To VFP and encountered with a Problem.
>
>The old application uses some code like
>
>mm_ssaback:= .F.
>mm_zone:= "00"
>
>save all like MM_* to SANCHAR && The data is stored in Sanchar.MEM file
>
>I want to read the data from Sanchar.MEM so that I could work accordingly.
>
>Kindly Guide:-
>
>1) how to read/retrieve data from the above sanchar.mem file
>2)in case I want to update sanchar.mem so that it can be further used in my clipper only, how to do that
>
>Regards
>Harsh
You can use RESTORE FROM SANCHAR to get it back into memory variables, but it will overwrite anything which matches variables already defined. I also wrote a utility that parses it externally as a text file.
https://github.com/RickCHodgin/SaveToParser. See the test\ directory for sample use.