Oxygene (programming Language) - Differences Between Native Delphi and Oxygene

Differences Between Native Delphi and Oxygene

  • unit: Replaced with the namespace keyword. Since Oxygene doesn't compile per-file but per-project, it does not depend on the name of the file. Instead the unit or namespace keyword is used to denote the default namespace that all types are defined in for that file
  • procedure and function: These two keywords have been replaced with the method keyword
  • overload: In Delphi Prism all methods are overloaded by default, so no special keyword is needed for this
  • .Create: This constructor call has been replaced by the new keyword. It can still be enabled in the project options for legacy reasons
  • string: Characters in strings are zero-based and read-only. Strings can have nil values, so testing against empty string is not always sufficient.

Read more about this topic:  Oxygene (programming Language)

Famous quotes containing the words differences between, differences, native and/or delphi:

    The mother must teach her son how to respect and follow the rules. She must teach him how to compete successfully with the other boys. And she must teach him how to find a woman to take care of him and finish the job she began of training him how to live in a family. But no matter how good a job a woman does in teaching a boy how to be a man, he knows that she is not the real thing, and so he tends to exaggerate the differences between men and women that she embodies.
    Frank Pittman (20th century)

    No sooner had I glanced at this letter, than I concluded it to be that of which I was in search. To be sure, it was, to all appearance, radically different from the one of which the Prefect had read us so minute a description.... But, then, the radicalness of these differences ... these things ... were strongly corroborative of suspicion.
    Edgar Allan Poe (1809–1849)

    Hope and the future for me are not in lawns and cultivated fields, not in towns and cities, but in the impervious and quaking swamps.... I derive more of my subsistence from the swamps which surround my native town than from the cultivated gardens in the village.
    Henry David Thoreau (1817–1862)

    At Delphi I prayed
    to Apollo
    that he maintain in me
    the flame of the poem
    and I drank of the brackish
    spring there....
    Denise Levertov (b. 1923)