Browse Source

+ added descriptive comments for the examples (patch by Reinier Olislagers,
mantis #24948)

git-svn-id: trunk@28882 -

Jonas Maebe 10 years ago
parent
commit
ada39d530f
2 changed files with 10 additions and 1 deletions
  1. 6 0
      packages/libcurl/examples/testcurl.pp
  2. 4 1
      packages/libcurl/examples/teststream.pp

+ 6 - 0
packages/libcurl/examples/testcurl.pp

@@ -11,6 +11,12 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
     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}
 {$mode objfpc}
 {$H+}
 {$H+}
 program testcurl;
 program testcurl;

+ 4 - 1
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}
 {$mode objfpc}
 {$H+}
 {$H+}
 program teststream;
 program teststream;