pblancha
11th October 2001, 01:35
Hi,
i'm using text.write in a script and all it does is create an empty message, but the tmp_file is not empty. What i'm doing is:
rc = text.to.buf("tttxt010.ctxt",lang,10,buf)
tmp_file = buf(1,1)
**** this part is working, tmp_file has the info that was
stored in tttxt010.text
rc = text.write("tdsls002.txta","lang","","","","","","",tmp_file)
*** This part is returning the new text number in tdsls002.txta
but the text is empty. tmp_file is not empty
Anybody worked with text.read() and text.write() ?
am i missing something?
thanks
i'm using text.write in a script and all it does is create an empty message, but the tmp_file is not empty. What i'm doing is:
rc = text.to.buf("tttxt010.ctxt",lang,10,buf)
tmp_file = buf(1,1)
**** this part is working, tmp_file has the info that was
stored in tttxt010.text
rc = text.write("tdsls002.txta","lang","","","","","","",tmp_file)
*** This part is returning the new text number in tdsls002.txta
but the text is empty. tmp_file is not empty
Anybody worked with text.read() and text.write() ?
am i missing something?
thanks