>After writing a bunch of stuff to an ini file I'd like to make things look neat by adding a CRLF.
>
>
>DECLARE INTEGER WritePrivateProfileString IN Win32API AS WritePrivStr ;
> STRING cSection, STRING cKey, STRING cValue, STRING cIniFile
>
>WritePrivStr(lcSection,lcKey,lcString,lcIniFile)
>
>
>But when I pass SPACE(1) as lcString i get an = sign written to the file.
>
>So, how is this done?
Peter,
If you don't supply any value for the key, nothing is written. You shouldn't worry about or try to cause an end of line character.
George
Ubi caritas et amor, deus ibi est