Pascal Intermediate
Units and Modular Programming
Last Updated: December 4, 2025In practical Pascal programming (especially in Delphi and Lazarus), you almost never write everything in a single program file. Instead,...
Enumerations and Sets
Last Updated: December 4, 2025Pascal provides specialized data structures that improve code readability and efficiency when dealing with defined lists of constants and flags....
Dynamic Arrays and Memory
Last Updated: December 4, 2025While the basic arrays discussed in P1.8 have a fixed size defined at compile time, Dynamic Arrays allow you to...
Classes and Objects (OOP I)
Last Updated: December 4, 2025Object-Oriented Programming (OOP) is a programming paradigm that organizes software design around objects—data structures that bundle data (fields) and behavior...
Properties and Encapsulation
Last Updated: December 4, 2025In Object Pascal, a Property is a specialized language feature that allows an external user to access an object’s internal...
Pointers and Low-Level Access
Last Updated: December 4, 2025In Object Pascal, most memory management is handled by the system (the Stack) or by the object model (the Heap)....
File I/O and Streams
Last Updated: December 4, 2025Interacting with the file system (reading configuration data, saving user documents, logging errors) is essential for almost all applications. Pascal...
Error Handling: Exceptions
Last Updated: December 4, 2025In modern programming, runtime errors (like file not found, division by zero, or invalid data) should not crash the application....
