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, 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)

    There is too much sour grapes for my taste in the present American attitude. The time to denounce the bankers was when we were all feeding off their gold plate; not now! At present they have not only my sympathy but my preference. They are the last representatives of our native industries.
    Edith Wharton (1862–1937)

    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)