Home
Name Modified Size InfoDownloads / Week
README.txt 2013-01-05 1.3 kB
laziostuff.pas 2013-01-05 6.3 kB
Totals: 2 Items   7.5 kB 0
unit LazIOStuff;

(*
===================================================================
Version 0.90
by Peter Dauscher
License: GNU GPLv3

Developed using Free Pascal 2.6.0 / Lazarus v1.0.4

LazIOStuff provides some basic routines allowing to use
Edit and Memo Components for Input and Output in a simplified way.
Especially, the output commands for Memo Components are slightly similar
to the way output is implemented in command line applications (or in good
old Pascal).

For instance, instead of coding

  Memo1.Lines[Memo.Lines.Count-1]:=_Memo.Lines[Memo.Lines.Count-1]+
  format('%3.2f',[x]);

one may simply write

  WriteTo(Memo1,x,3,2);

Especially in educational contexts (where students shall concentrate
on general aspects of programming instead of technical
details), such simplifications might be helpful.

To use the unit, it can be copied in the directory of the respective
project (or to a standard directory the path of which is known to
Lazarus). The unit is to be included by adding its name to the
"uses" list

   uses Classes, .... , LazIOStuff;

In case of questions, bug reports or suggestions
send an e-mail to
peter.dauscher@gmail.com


===================================================================
*) 
Source: README.txt, updated 2013-01-05