Files

1 line
1.1 KiB
HTML

<!doctype html><html lang="en"><meta charset="utf-8"><title>Enable Objective-Pascal deliberately</title><h1>Enable Objective-Pascal deliberately</h1><p>15-minute session: read for 3 minutes, trace for 3, experiment for 7, and complete the check for 2. Spend longer whenever you need.</p><p>Objective-Pascal is Free Pascal support for Objective-C constructs, not just another name for Object Pascal classes. The mode switches <code>{$modeswitch objectivec1}</code> and <code>{$modeswitch objectivec2}</code> enable the relevant features. A later <code>{$mode ...}</code> directive resets mode switches, so order matters. Read the Free Pascal reference and annotate a source header. This Linux lab runs the preceding Object Pascal exercises; it does not provide an Objective-Pascal Apple-framework runtime.</p><h3>Practice and evidence</h3><p>Keep three notes: your prediction, the actual result, and why they match or differ. The completion check grades understanding; the practice task builds skill.</p><p><a href="https://docs.freepascal.org/daily/doc/ref/refse74.html">Language reference</a></p></html>