| |
| | Modernised Pascal - FPCWiki |
 | | In Component Pascal it was decided that IS operator, if met inside execution flow control statements (if, case, while) and evaluated to true, assures the corresponded execution path that MyVar really belongs to MyClass, in other words, acting like implicit AS but without extra work through classes inheritance tree. |
 | | Next, Class B is the type on some private member variable within Class A. With current syntax rules that enforces the programmer to move Class B to interface section, thus publishing it, while he did wanted to hide, encapsulate it. |
 | | In Component Pascal instead the visibility of procedure,etc is determined by presence of asterisk in it's declaration. |
| www.freepascal.org /wiki/index.php/Modernised_Pascal (1224 words) |
|