View Single Post
  #1  
Old 3rd August 2017, 13:49
pralash pralash is offline
Member
 
Join Date: Feb 2017
Posts: 62
pralash is on a distinguished road
Baan: 9.0 - DB: SQL Server - OS: Windows 2012R2
Is there any header file need to write a string into the file?

Hi,
I'm fresher to LN. I want to be right a string into the file. But I can't do it.
I think is there any header file is needed to this operation, I have mentioned my script below.

Thanks
Pralash...

Code:
function void file.creation.for.string.to.text.domain.conversion(string tmp.string)
{

    domain     tcmcs.long ft

|    #include <bic_text>

    file.tmp = creat.tmp.file$(bse.tmp.dir$() ) |create temp file Aug 3
    ft = seq.open(file.tmp,"w") |open file with write method
    |retn = seq.puts(tmp.string,ft) |tmp.string is your input text
    retn = seq.puts("senthil",ft) |tmp.string is your input text
    seq.close(ft)
}

Last edited by bhushanchanda : 3rd August 2017 at 13:56. Reason: added code tags!
Reply With Quote