jcook331
25th October 2005, 18:56
I need to copy the contents of one text number to another text number. If I remember correctly text.copy will create a new text number. I don't want to do that. Is there a way to do this with text.to.buf?

NPRao
25th October 2005, 20:50
use the text.read() to get the text in a file format for the first text field, then use text.rewrite() to put that file contents into the second text field.

jcook331
25th October 2005, 22:09
I used:

ret = text.read("lflfa360.txta", language$, kw1, kw2, kw3, kw4, text.group, edit.option, tmp.file, 1)
ret = text.rewrite("tiitm001.txta", language$, kw1, kw2, kw3, kw4, text.group, edit.option, tmp.file)

This works great. Thanks