Talk:Lazarus Documentation/old

From Lazarus wiki
< Talk:Lazarus Documentation
Revision as of 20:06, 8 June 2008 by Cspaul (talk | contribs) (Idea about Tutorial for Object Oriented Programming with Lazarus and Free Pascal)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Hello! I have an idea about that that it would be good to write a tutorial for Object Oriented Programming in Free Pascal including Lazarus. Say, if one make a new appliacation in Lazarus, and get the first code in the Source Editor, then I would to explain - or want to be explained every line. An example:

unit Unit1;

Unit Name

{$mode objfpc}{$H+}


interface


uses

Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs;

Used Units

type

TForm1 = class(TForm)

A new Object TForm1 from the Class TForm has been created.

private

{ private declarations }


public

{ public declarations }


end;


var

Form1: TForm1;


implementation


initialization


{$I unit1.lrs}


end.

End of the program