End (keyword)

From RemObjects Software

Jump to: navigation, search

This is a Oxygene Keyword topic
Feel free to add your notes to this topic below.



The key word end is fundamental for Oxygene, it ends operating blocks.

begin ... end;
case ... end;
try ... end;
type ... end;
interface ... end;
unit ... end.

Example

interface

    type
      MyClass = class
        method Normal1;
    end;
    method Global1;

    implementation

    method Global1;
    begin
    // code
    end;

    method MyClass.Normal1;
    begin
        if Test1 then
            begin
                case status of
                    0: DoNothing;
                    1: DoDefault;
                    2..4: DoSometh;
                end;
            end;
    end;
  // statements
end;


See Also


Product: RemObjects Oxygene (formerly known as Chrome)
Current version: 3.0 Previous Versions: 'Joyride' (2.0), 'Floorshow' (1.5), 'Adrenochrome' (1.0)

GlossaryKeywordsLanguage FeaturesPlatform FeaturesSamplesArticlesHow ToIssues

Personal tools