Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2006-08

second patch fp2html

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Darius Blaszijk

As promised here's another patch for fp2html. This patch should be put on top of the first one I sent.

Changes are:

Added system variable $NOW
Replaced FindFirst / FindNext by FileExists
Removed PathCh constant
Added GPL header
"fixed" -O option to force file extension
Added some comments
functions removed:
SplitExtension replaced by ExtractFileExt
AddExtension replaced by ChangeFileExt
ForceExtension replaced by ChangeFileExt
CBSpace replaced by Trim
UCase replaced by UpCase
LCase replaced by LowerCase
readln never used
SplitPath replaced by ExtractFilePath
SplitFileName never used

I tested the resulting executable on the FPC website pages and I found no difference.

Darius

Reply by email

Peter Vreman
to Darius Blaszijk
you wrote 24 lines
As promised here's another patch for fp2html. This patch should be put on top of the first one I sent. Changes are: Added system variable $NOW Replaced FindFirst / FindNext by FileExists Removed PathCh constant Added GPL header "fixed" -O option to force file extension Added some comments functions removed: SplitExtension replaced by ExtractFileExt AddExtension replaced by ChangeFileExt ForceExtension replaced by ChangeFileExt CBSpace replaced by Trim UCase replaced by UpCase LCase replaced by LowerCase readln never used SplitPath replaced by ExtractFilePath SplitFileName never used I tested the resulting executable on the FPC website pages and I found no difference.

Thanks, both patches applied

Peter

Reply by email