Delphi — Command Reference
Most used Delphi (Object Pascal) commands — the classic for fast desktop app development. Each example is a complete program ({$MODE DELPHI}). Each comes with an explanation and a working example.
6 categories · 12 commands
🖥️
Output
Printing with writeln.
writeln / write📦
Variables
var, assignment (:=), and const.
var / :=const🔄
Data Types & Conversion
Basic types and conversion functions.
IntToStr / StrToInt✍️
String
Concatenation, length, and uppercase.
+ / LengthUpperCase / LowerCaseCopy / Pos🔁
Condition & Loop
Decision making and repetition.
if / then / elseforwhile / repeat🧩
Function & Procedure
function and procedure.
functionprocedure