Pascal — Command Reference
Pascal's most used commands — a classic language teaching structured programming. Each example is a complete program (program ... begin ... end.). Each comes with an explanation and a working example.
5 categories · 10 commands
🖥️
Output
Printing with writeln.
writeln / write📦
Variables
var, := and const.
var / :=const✍️
String
Concatenation, length, and conversion.
+ / Length / UpperCaseStrToInt / IntToStr🔁
Condition & Loop
if, case, and loops.
if / then / elseforwhile / repeat🧩
Function & Procedure
function and procedure.
functionprocedure