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)

    What strikes many twin researchers now is not how much identical twins are alike, but rather how different they are, given the same genetic makeup....Multiples don’t walk around in lockstep, talking in unison, thinking identical thoughts. The bond for normal twins, whether they are identical or fraternal, is based on how they, as individuals who are keenly aware of the differences between them, learn to relate to one another.
    Pamela Patrick Novotny (20th century)

    Those poor farmers who came up, that day, to defend their native soil, acted from the simplest of instincts. They did not know it was a deed of fame they were doing. These men did not babble of glory. They never dreamed their children would contend who had done the most. They supposed they had a right to their corn and their cattle, without paying tribute to any but their governors. And as they had no fear of man, they yet did have a fear of God.
    Ralph Waldo Emerson (1803–1882)

    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)