08-21-2013, 03:42 PM
Ok. Yes, datas will be saved/loaded from file.
my former code was using homemade type
TYPE Mytype
str'data1
str'data2
mytype d
d.data1="jjj"
d.data2"kkkk"
ARRAY(mytype) j
if(strcmp(_s d.data1)=0)
do something...
you get the picture, hard to maintain and long coding. Will try IStringMap or cvs first.
But I need to store all in a file for later use, and need to write/save the file.
Are there possibilty to search records/items in a file or must I load it in memory then do thing, and save it later?
or are there function as for file type (rset, read, append, etc)?
my former code was using homemade type
TYPE Mytype
str'data1
str'data2
mytype d
d.data1="jjj"
d.data2"kkkk"
ARRAY(mytype) j
if(strcmp(_s d.data1)=0)
do something...
you get the picture, hard to maintain and long coding. Will try IStringMap or cvs first.
But I need to store all in a file for later use, and need to write/save the file.
Are there possibilty to search records/items in a file or must I load it in memory then do thing, and save it later?
or are there function as for file type (rset, read, append, etc)?
