Stuart
22nd September 2009, 11:22
Hi
I seem to be having a problem with the 3GL function text.write. I cannot seem to get the program to compile

I constantly get an "Unresolved reference to function 'text.write' message

the script I am using is very basic and based on the help
I have dumbed it down as I was not sure that my variable input to the function was the problem but it doesnt seem to matter what I put - it is not recognising the function

text.file = "D:\BAAN\TMP\text"

text.fp = seq.open(text.file, "wt")
for y = 1 to last.line
text.string = text.a(1,y)
text.temp = seq.puts(text.string, text.fp)
endfor
text.temp = seq.close(text.fp)

text.rcde = text.write("tipcs905.txta","2","","","","","std","",text.file)

text.temp = seq.unlink(text.file)


Am I missing a library or an include function
Any ideas anyone??

Juergen
22nd September 2009, 11:50
Hi,

please add #include <bic_text> to the declaration section of your program script.

Regards,
Juergen

Stuart
22nd September 2009, 11:59
That sorted it
Thanks