From RemObjects Software
This is a Oxygene How To entry
Feel free to add your notes to this topic below.
This page provides a summary of Oxygene syntax differences for customers familiar with Delphi.
|
Overview of new and enhanced functionality
|
|
|
|
|
Keywords with Changed Usage
|
|
|
|
|
Keywords not supported by Oxygene
- assembly/asm Inline assembly code isn't supported by Oxygene (or .NET for that matter). Inline assembly is made out of CPU specific instructions, which won't work under the .NET runtime.
- inline Method - inline hint keywords are not supported as the .NET runtime automatically inlines methods it thinks that can be inlined.
|
Deprecated Keywords
- 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 Oxygene 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.
|
See Also
Glossary —
Keywords —
Language Features —
Platform Features —
Samples —
Articles —
How To —
Issues