OleVariant: what changed
Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.
Title: OleVariant Olevariant
| Old | New | | Line |
|---|
| 1 | | - | Back to [[Data type|data types]]. |
| 2 | | - | |
| 3 | | - | Memory required for 32-bit compilation: 16 bytes or 128 bits. |
| 4 | | - | |
| 5 | | - | Memory required for 64-bit compilation: 24 bytes or 192 bits. |
| 6 | | - | |
| 7 | | - | Property: the data type OleVariant is a variant data type that is used for OLE automation (automation of other programs). |
| 8 | | - | |
| 9 | | - | Declaration of a data field of the data type **OleVariant**: |
| 10 | | - | |
| 11 | | - | ``` pascal |
| 12 | | - | var |
| 13 | | - | varOle : OleVariant; |
| 14 | | - | |
| 15 | | - | //Create: |
| 16 | | - | varOle := CreateOleObject('Excel.Application'); |
| 17 | | - | |
| 18 | | - | //Release of a data field of the data type OleVariant: |
| 19 | | - | varOle := Unassigned; |
| 20 | | - | ``` |
| 21 | | - | |
| 22 | | - | You can find further examples for use on the topic of OleVariant under the topic of software automation. |
| 23 | | - | |
| 24 | | - | --- |
| 25 | | - | *From the Free Pascal wiki, page "OleVariant", as it stood on 2023-12-22 after a change by Alextpp, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* |
| 1 | + | #REDIRECT [[OleVariant]] |
Back to history