[fpc-pascal] Creating text files with TFileStream
Graeme Geldenhuys
graemeg.lists at gmail.com
Fri Oct 23 12:18:31 CEST 2009
2009/10/23 Marco van de Voort <marcov at stack.nl>:
>
> if length(atext)>0 then
>>WriteBuffer(Atext[1], length(AText)?
I always add a LineEnding character to AText, so the 'if length()'
check is not strictly needed. Sometimes I would like to write a
"blank" line in my text output. Equivalent of writeln('');
--
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
More information about the fpc-pascal
mailing list