From ada39d530f4cbfed4c34e0b6b8a7e7d41dce7d3d Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Sun, 19 Oct 2014 17:07:59 +0000 Subject: [PATCH] + added descriptive comments for the examples (patch by Reinier Olislagers, mantis #24948) git-svn-id: trunk@28882 - --- packages/libcurl/examples/testcurl.pp | 6 ++++++ packages/libcurl/examples/teststream.pp | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/libcurl/examples/testcurl.pp b/packages/libcurl/examples/testcurl.pp index bc9eeb2f9c..c60ac70dd1 100644 --- a/packages/libcurl/examples/testcurl.pp +++ b/packages/libcurl/examples/testcurl.pp @@ -11,6 +11,12 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. **********************************************************************} +{ + This program demonstrates the use of libcurl. + It requires the libcurl library. Should work on Unix/Linux. + It would need modifications to run on Windows. +} + {$mode objfpc} {$H+} program testcurl; diff --git a/packages/libcurl/examples/teststream.pp b/packages/libcurl/examples/teststream.pp index 118ff3d722..098522b4e7 100644 --- a/packages/libcurl/examples/teststream.pp +++ b/packages/libcurl/examples/teststream.pp @@ -12,8 +12,11 @@ **********************************************************************} { - This example shows how to use curl and write the result to a TStream. + This example shows how to use curl and write the result to a TStream. + It requires the libcurl library. Should work on Unix/Linux. + It would need modifications to run on Windows. } + {$mode objfpc} {$H+} program teststream;