Begin (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 begin is fundamental for Oxygene, it begins operating blocks. It always begins a code part of the method.

Pair begin-end encloses a set of the instructions. You can place such block everywhere in your code.

Example:

interface

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

    implementation

    method Global1;
    begin
    // code
    end;

    method MyClass.Normal1;
    begin
        loop begin
        // statements
        if Test1 then
            begin
            // statements
            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