* fpspreadsheet: wikitable demo: clarify read/write interoperability problems.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3234 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
bigchimp
2014-06-24 15:27:32 +00:00
parent d80d5427d4
commit 42a0431063
3 changed files with 11 additions and 5 deletions

View File

@ -0,0 +1,3 @@
This demo demonstrates how to use fpspreadsheet to read and write files with wiki table format in it.
Note that the write example currently writes a format that the read example cannot understand.

View File

@ -1,8 +1,9 @@
{
wikitableread.dpr
Demonstrates how to read a wikitable file using the fpspreadsheet library
wikitableread.lpr
Demonstrates how to read a wikitable (wikimedia format) file using the fpspreadsheet library
Note: the output written by wikitablewrite cannot yet be read by the
wikitableread demo.
}
program wikitableread;
@ -28,7 +29,7 @@ begin
InputFileName := MyDir + 'test.wikitable_wikimedia';
if not FileExists(InputFileName) then begin
WriteLn('Input file ', InputFileName, ' does not exist. Please run wikitablewrite first.');
WriteLn('Input file ', InputFileName, ' does not exist. Please make sure a file exists with data in the correct format.');
Halt;
end;
WriteLn('Opening input file ', InputFilename);

View File

@ -1,7 +1,9 @@
{
wikitablewrite.dpr
wikitablewrite.lpr
Demonstrates how to write a wikitable file using the fpspreadsheet library
Note: the output written by wikitablewrite cannot yet be read by the
wikitableread demo.
}
program wikitablewrite;