ChristopheM
Hey THIS is FUN
   
Registered: 2002-05-13
Posts: 309
Loc: STRASBOURG, France
|
What a nice job !!!
but i had some little problems when I copied and pasted to my text editor (same result if I save as in .txt format). Applying ppc.kix to itself gives a wrong result. 1) the following comment line has been broken in two lines !!! ; If the destination file wasn't specified, use the SourceFileSpec and change the extension to ".htm"
2) in "; Set the Border directive based on the flag value", the comment line has been broken in two lines. The second line begins with an extra comma and kixtart considers the begins of the second line has an unknown command.
3) in "; Define the body settings", the correct line should be $Body = '<font face="' instead of $Body = '$I = ReadProfileString($ConfigFile, 'FieldSet', 'TypeFace')
this is because of the < character
4) same as 1) in the enumini function with return nothing. this function always returned an empty array !!!
5) at the end of Kix2HTML function, the $OutBuffer line has been broken and there is an extra comma : $OutBuffer = $OutBuffer + Join(Split(Join(Split(Join(Split(Join($SrcTxt,@CRLF),$1),'&'),,$2),$Lc),$3),$Tc)
Correct line should be : $OutBuffer = $OutBuffer + Join(Split(Join(Split(Join(Split(Join($SrcTxt,@CRLF),$1),'&'),$2),$Lc),$3),$Tc)
With theses changes, I have a result but if I apply the new version of ppc to itself, the result is still wrong. Point 3 should be solved by replacing < character by a variable. Point 1, 2, 3 ou 4 seem to come from the same reason.
I continue to investigate !!!
_________________________
Christophe
|