Page 1 of 1

writeing '' to a file

PostPosted: August 20th, 2007, 7:40 am
by Christine123
I know how to write to a file

writeln(SendFile, 'yada yada yada'

and the file is as:
yada yada yada

but how would it do it if I wanted the file to be :
'yada yada yada' ----> with the 2 ''s

PostPosted: August 20th, 2007, 7:54 am
by HPW
Try:

writeln(SendFile, '''yada yada yada''');

Follow the help about a ' to the string explanantion.