Difference between revisions of "Lazarus Documentation"

From Lazarus wiki
Jump to navigationJump to search
m (Fixed page link)
 
(7 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
==Lazarus and Pascal Tutorials==
 
==Lazarus and Pascal Tutorials==
  
*[[Object Pascal Tutorial]]
+
*[[Basic Pascal Tutorial]]
 +
*[[Free Pascal videos|Free Pascal video tutorials]]
 +
*[[Lazarus_videos|Lazarus video tutorials]]
 
*[[:Category:Tutorials|All tutorials on the wiki]] - Collection of tutorials with difficulty ranging from beginner to expert level
 
*[[:Category:Tutorials|All tutorials on the wiki]] - Collection of tutorials with difficulty ranging from beginner to expert level
*There are also other tutorials not hosted here in [[Lazarus Documentation#Lazarus related blogs, websites, videos, magazines and books]].
+
*There are also other tutorials not hosted here in [[Lazarus Documentation#Lazarus related blogs, websites, videos, magazines and books|Lazarus related blogs, websites, videos, magazines and books]].
 
*[http://www.schoolfreeware.com/Free_Pascal_Tutorials.html SchoolFreeware's Free Pascal Tutorials] - From command line interface (CLI) to graphical user interface (GUI) using Lazarus IDE
 
*[http://www.schoolfreeware.com/Free_Pascal_Tutorials.html SchoolFreeware's Free Pascal Tutorials] - From command line interface (CLI) to graphical user interface (GUI) using Lazarus IDE
  
Line 11: Line 13:
  
 
=== Lazarus/FPC (Free Pascal)===
 
=== Lazarus/FPC (Free Pascal)===
 +
 
*[[Creating bindings for C libraries]] - How to convert C header files (.h) to pascal units
 
*[[Creating bindings for C libraries]] - How to convert C header files (.h) to pascal units
 
*[[Console Mode Pascal]] - Using the Lazarus IDE for writing Pascal programs for text-mode operation.
 
*[[Console Mode Pascal]] - Using the Lazarus IDE for writing Pascal programs for text-mode operation.
Line 17: Line 20:
 
*[[Developing with Graphics]] - Examples on 2D & 3D graphic programming.
 
*[[Developing with Graphics]] - Examples on 2D & 3D graphic programming.
 
*[[Form Tutorial]] - A tutorial for beginners on how to deal with forms.
 
*[[Form Tutorial]] - A tutorial for beginners on how to deal with forms.
*[[Pascal_for_VisualBasic_users|Free Pascal for Visual Basic users]]
+
*[[Pascal_for_Visual_Basic_users|Free Pascal for Visual Basic users]]
 
*[[Lazarus Database Tutorial]] - A tutorial which has some more background information on how to connect to popular databases, for example MySQL, Firebird, Postgres, etc.
 
*[[Lazarus Database Tutorial]] - A tutorial which has some more background information on how to connect to popular databases, for example MySQL, Firebird, Postgres, etc.
 
*Lazarus integrated .chm help file system for manual copying into .../chm subdirectory, download [http://www.stack.nl/~marcov/doc-chm.zip here]. Both for Lazarus and '''fp''' text mode IDE.
 
*Lazarus integrated .chm help file system for manual copying into .../chm subdirectory, download [http://www.stack.nl/~marcov/doc-chm.zip here]. Both for Lazarus and '''fp''' text mode IDE.
Line 60: Line 63:
 
*[[Portal:Android|Android Portal]] - Programming tips and reference information on Android.
 
*[[Portal:Android|Android Portal]] - Programming tips and reference information on Android.
 
**[[Android Programming]] - For Android smartphones and tablets.
 
**[[Android Programming]] - For Android smartphones and tablets.
 +
*[[Portal:Embedded|Embedded]] - An overview of development for Embedded platforms with/without an operating system
 +
** volunteers needed :-)
 
*[[Portal:FreeBSD|FreeBSD Portal]] - An overview of development for FreeBSD with Lazarus and Free Pascal.
 
*[[Portal:FreeBSD|FreeBSD Portal]] - An overview of development for FreeBSD with Lazarus and Free Pascal.
 
**[[FreeBSD Programming Tips]] - Lazarus installation, useful tools, Unix commands, and more...
 
**[[FreeBSD Programming Tips]] - Lazarus installation, useful tools, Unix commands, and more...
Line 196: Line 201:
 
<!-- *[[TO-DO]] Remaining Tasks -->
 
<!-- *[[TO-DO]] Remaining Tasks -->
 
* [[Help:Add language bar | Add language bar]] explains how you can add a list of translations to the top of a wiki page.
 
* [[Help:Add language bar | Add language bar]] explains how you can add a list of translations to the top of a wiki page.
*[[Translations_/_i18n_/_localizations_for_programs#Translating_the_IDE|Translating the IDE]]
+
*[[Everything_else_about_translations#Translating_the_IDE|Translating the IDE]]
  
 
==Additional Components Documentation==
 
==Additional Components Documentation==
Line 237: Line 242:
  
 
===Websites===
 
===Websites===
 +
 
These websites cover Free Pascal, Lazarus or both - or they cover Delphi concepts that are applicable to Lazarus/FPC:
 
These websites cover Free Pascal, Lazarus or both - or they cover Delphi concepts that are applicable to Lazarus/FPC:
 
*[http://pp4s.co.uk PP4S] Lazarus (and Delphi) getting started information, tutorials. Useful for beginners.
 
*[http://pp4s.co.uk PP4S] Lazarus (and Delphi) getting started information, tutorials. Useful for beginners.
 
*[https://web.archive.org/web/20161229032639/http://swinbrain.ict.swin.edu.au/wiki/Pascal Pascal - SwinBrain] (Internet Archive; original link dead) - Unique free pascal tutorial and documentation at Swinburne University
 
*[https://web.archive.org/web/20161229032639/http://swinbrain.ict.swin.edu.au/wiki/Pascal Pascal - SwinBrain] (Internet Archive; original link dead) - Unique free pascal tutorial and documentation at Swinburne University
 
*[http://sheepdogguides.com/lut/ Lazarus Programming] A series of tutorials to get beginners started. Limited "how to install" material. From SheepdogSoftware.co.uk
 
*[http://sheepdogguides.com/lut/ Lazarus Programming] A series of tutorials to get beginners started. Limited "how to install" material. From SheepdogSoftware.co.uk
*[[Object Pascal Tutorial]] Updated version of [http://www.taoyue.com/ Tao Yue's] [http://www.taoyue.com/tutorials/pascal/ Pascal Tutorial] (reposted with permission).
+
*[[Basic Pascal Tutorial]] Updated version of [http://www.taoyue.com/ Tao Yue's] [http://www.taoyue.com/tutorials/pascal/ Pascal Tutorial] (reposted with permission).
 
*[http://sheepdogguides.com/tut.htm Delphi Tutorials Arranged in Groups, by Difficulty] An accumulation of material from many years. Topics range from "Hello World" to using Dallas 1-Wire to TCP/IP. The ones I've tried port to Lazarus without hassle.
 
*[http://sheepdogguides.com/tut.htm Delphi Tutorials Arranged in Groups, by Difficulty] An accumulation of material from many years. Topics range from "Hello World" to using Dallas 1-Wire to TCP/IP. The ones I've tried port to Lazarus without hassle.
 
  
 
Chinese:
 
Chinese:
 
*[http://www.fpccn.com/ Community for Free Pascal and Lazarus in Chinese.] - Community, forums, source code and demos in Chinese.
 
*[http://www.fpccn.com/ Community for Free Pascal and Lazarus in Chinese.] - Community, forums, source code and demos in Chinese.
 
Dutch:
 
*[http://www.econ.kuleuven.ac.be/tew/academic/infosys/MEMBERS/VTHIENEN/] - Homepage of professor teaching programming courses with Pascal. See his links to Pascal exercises/solutions (e.g. [http://www.econ.kuleuven.ac.be/tew/academic/infosys/MEMBERS/VTHIENEN/pasoef.htm])
 
  
 
French:
 
French:
Line 270: Line 272:
  
 
==Missing documentation?==
 
==Missing documentation?==
 +
 
If you miss documentation for Lazarus or Free Pascal, you can always write it yourself and submit it to the Lazarus/FPC bugtracker for inclusion.
 
If you miss documentation for Lazarus or Free Pascal, you can always write it yourself and submit it to the Lazarus/FPC bugtracker for inclusion.
 
Have a look at:
 
Have a look at:
 
*[[FPDoc Editor]] Built-in documentation editor in Lazarus. Page explains how to get fpdoc help sources and write your own help.
 
*[[FPDoc Editor]] Built-in documentation editor in Lazarus. Page explains how to get fpdoc help sources and write your own help.
  
 +
==See also==
 +
 +
* [[FPC|FPC Wiki Documentation]]
  
{{AutoCategory}}
 
 
[[Category:Main]]
 
[[Category:Main]]
 
[[Category:Lazarus]]
 
[[Category:Lazarus]]

Latest revision as of 20:27, 31 May 2022

العربية (ar) Deutsch (de) English (en) español (es) suomi (fi) français (fr) magyar (hu) Bahasa Indonesia (id) italiano (it) 日本語 (ja) 한국어 (ko) Nederlands (nl) português (pt) русский (ru) slovenčina (sk) Türkçe (tr) 中文(中国大陆)‎ (zh_CN) 中文(台灣)‎ (zh_TW)

Lazarus and Pascal Tutorials

(See also "Websites", further down this page)

Lazarus/FPC (Free Pascal)

Hardware, Threads and Processes

  • Using the printer - Printer support in Lazarus
  • Hardware Access - How to access hardware devices, such as ISA cards, PCI cards, parallel and serial ports and USB devices.
  • Multithreaded Application Tutorial - How to write multithreaded applications using Free Pascal and Lazarus.
  • Executing External Programs - A short tutorial showing how to run external programs from inside your program.
  • LazDeviceAPIs - A LCL unit which offers an interface to various hardware devices such as the Accelerometer, SMS sending, GPS positioning, etc.

Files

Web

Platforms

The Lazarus User Guides

Installation

IDE

Integrated Development Environment

LCL

The Lazarus component library (LCL) is very similar to Delphi's VCL (Visual Component Library). Most Lazarus units, classes and properties have the same name and functionality as their equivalents in Delphi. This makes porting Delphi applications to Lazarus relatively easy.

Developing

Tools

Coming from Delphi

The Lazarus Developer Guides

LCL - Lazarus component library

The following articles go deeper into developing for/with the LCL. See also the user LCL section above.

Interfaces

Translating/Internationalization/Localization

These articles cover how to set up the IDE, LCL and your own programs with translated/localized strings, and how to internationalize them (e.g. deal with date formats, decimal separators etc) :

  • German - Notes and guidelines for translating the Lazarus IDE to German, including a small dictionary to look up often used translations.
  • Portuguese-Brazilian - Small dictionary containing common translations of terms used in the Lazarus IDE for the Portuguese-Brazilian translation.
  • Russian - Notes and guidelines for translating the Lazarus IDE into Russian.

Additional Components Documentation

Free Pascal Compiler Documentation

In addition to this site, the latest version of the documentation can also be found on-line and in a variety of downloadable formats on the main Free Pascal Compiler site.

Special Topics

Lazarus related blogs, websites, videos, magazines and books

Blogs

Websites

These websites cover Free Pascal, Lazarus or both - or they cover Delphi concepts that are applicable to Lazarus/FPC:

Chinese:

French:

Spanish:

Videos

Books

Conferences on Lazarus and Free Pascal

How to cite in scientific publications

Missing documentation?

If you miss documentation for Lazarus or Free Pascal, you can always write it yourself and submit it to the Lazarus/FPC bugtracker for inclusion. Have a look at:

  • FPDoc Editor Built-in documentation editor in Lazarus. Page explains how to get fpdoc help sources and write your own help.

See also