MPL Documentation

Modern Pascal Samples

Modern Pascal is a hybrid of the Object Pascal language, with some extensions found in Free Pascal and Delphi. Our primary focus was to expand the boundaries to allow Pascal programmers to leverage existing C source code with minimal code changes. Of course different C compilers and developers use syntax that are extremely proprietary, for example over-usage of C compiler's support for macros.

Lesson Description
 Operators  Demonstrate Standard and Hybrid Operators
 Boolean  Thorough demonstration of Boolean usage
 Floats  Demonstrate all of the different float types, some compilers fail these set of tests
 Integers  Demonstrate all of the different integer types
 Strings  Demonstrate many of the string types
 place holder  for additional demonstrations as asked for

Lesson Description
 Case  Use Case instead of multiple "if" statements.
 For In  Iterate through the elements of any type
 For  Demonstrate how to implement FOR loops
 Integers  Demonstrate all of the different integer types
 Strings  Demonstrate many of the string types
 Shortint  -128