Page 1 of 1

how to set the statrt and the end symbol in TextOutput()?

Posted: Fri Mar 16, 2012 5:22 am
by solverxyz
Deal all,

As far as I know, textoutput() or asciioutput() always contain the starting symbol:", also the end symbol.

for example, as running a TI

##in Prolog

sStrings='testtext';
textoutput('ouput.cma',sStrings);

##########

after TI completed, open the ouput.cma, and it shows:
"test"

but what I expect is:
test

does any know how to solve this issue?

I want to use textoutput to create txt file for create rule by TI,
do I have another option to achieve this?

Re: how to set the statrt and the end symbol in TextOutput()

Posted: Fri Mar 16, 2012 6:39 am
by Duncan P
This is controlled by the TI variable DatasourceASCIIQuoteCharacter which you can set to the empty string ''. You might also want to look at DatasourceASCIIDelimiter.

Re: how to set the statrt and the end symbol in TextOutput()

Posted: Thu Mar 22, 2012 3:49 pm
by Jeroen Eynikel
Duncan P wrote:This is controlled by the TI variable DatasourceASCIIQuoteCharacter which you can set to the empty string ''. You might also want to look at DatasourceASCIIDelimiter.

Great! :p

Re: how to set the statrt and the end symbol in TextOutput()

Posted: Wed Mar 28, 2012 7:27 am
by solverxyz
thank you so much~~~~~~~~
it's really helpful