ILocal Interface
From The Oxygene Language Wiki
This is a Language topic
Feel free to add your notes to this topic below.
ILocal can be used to query or modify information about the locals defined in the current method.
ILocal = public interface
Namespace: Cirrus
Members
| | |
|---|---|
| Use() | Set this local to "used" and no warnings will be emitted about unused locals |
Properties
| | |
|---|---|
| Name: string | Gets or sets the name of a local; if not set at all, no debug info will be created for this |
| Pinned: Boolean | If set, the local will be considered "pinned" and will only be allowed to set once. The value it is set to won't be moved in memory by the QC until the method exits |
| ReadOnly: Boolean | If set, the variable cannot be written to |
| &Type: IType | The type of this local |
| Used: Boolean | Returns if this local is used or not (cannot be set; use Use() to set to true) |
| Index: Integer | Returns the index of this local |
See Also
- Cirrus
- External Links:
- Prism Aspects to Help with Monobjc Development (RemObjects Blogs)
Area: Oxygene Language
Compiler version: Oxygene 5
Language Glossary — Keywords — Types — FAQ — How To