Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
General
»
what's difference between Variant and TVarRec?
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
IContainers
by
cdbc
[
Today
at 07:28:18 pm]
fpc trunk:I can't build i...
by
zoltanleo
[
Today
at 07:09:08 pm]
How do you maintain your ...
by
MarkMLl
[
Today
at 06:52:10 pm]
Loading TIFF Files in Bgr...
by
wp
[
Today
at 05:51:54 pm]
Does not suggest function...
by
WooBean
[
Today
at 05:40:56 pm]
[SOLVED] using TForm.OnPa...
by
Remy Lebeau
[
Today
at 05:34:54 pm]
Minor Q: HowTo use 'Debug...
by
Martin_fr
[
Today
at 05:34:52 pm]
My first "tool" written w...
by
TBMan
[
Today
at 05:28:10 pm]
No access to the wiki
by
Thaddy
[
Today
at 04:55:31 pm]
UK's Online Safety Act
by
LV
[
Today
at 04:54:10 pm]
Resolving procedure symbo...
by
TCH
[
Today
at 04:53:22 pm]
Error 403 downloading wit...
by
Thaddy
[
Today
at 03:29:23 pm]
Preparing FPC 3.2.4, poin...
by
Thaddy
[
Today
at 02:32:36 pm]
Select cell in listview /...
by
Jonny
[
Today
at 02:32:19 pm]
Post your artwork made fr...
by
circular
[
Today
at 12:41:24 pm]
[SOLVED] SetPart ?
by
circular
[
Today
at 12:28:21 pm]
Does unit recompilation r...
by
cdbc
[
Today
at 11:48:20 am]
Compile on multiple distr...
by
dbannon
[
Today
at 09:28:37 am]
Intricate LSystem Snowfla...
by
Boleeman
[
Today
at 07:59:07 am]
D2Bridge Framework for La...
by
Thaddy
[
Today
at 06:39:50 am]
[SOLVED] How to add new ...
by
eolandro
[
Today
at 03:39:09 am]
BGRA Controls
by
lainz
[
Today
at 03:22:52 am]
color for selected cells
by
kjteng
[
Today
at 02:50:42 am]
SQL update statement and ...
by
silvercoder70
[January 20, 2025, 10:52:49 pm]
Nested declarations insid...
by
PascalDragon
[January 20, 2025, 10:33:14 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: what's difference between Variant and TVarRec? (Read 990 times)
egsuh
Hero Member
Posts: 1524
what's difference between Variant and TVarRec?
«
on:
April 24, 2024, 05:24:24 pm »
They seem very similar. Well, TVarRec is variant record. But isn't variant variant record?
Logged
ASerge
Hero Member
Posts: 2354
Re: what's difference between Variant and TVarRec?
«
Reply #1 on:
April 24, 2024, 07:09:52 pm »
Quote from: egsuh on April 24, 2024, 05:24:24 pm
They seem very similar. Well, TVarRec is variant record. But isn't variant variant record?
Do not confuse TVarRec with TVarData, which is the internal representation of Variant.
TVarRec is an element of the array of const.
Logged
PascalDragon
Hero Member
Posts: 5815
Compiler Developer
Re: what's difference between Variant and TVarRec?
«
Reply #2 on:
April 25, 2024, 09:28:59 pm »
Quote from: egsuh on April 24, 2024, 05:24:24 pm
They seem very similar. Well, TVarRec is variant record. But isn't variant variant record?
Variant
by itself is an opaque type backed by a variant record (
TVarData
) that also allows to invoke methods and properties on the
Variant
(compared to
TVarRec
). Another modern variant record is
Rtti.TValue
.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
General
»
what's difference between Variant and TVarRec?
TinyPortal
© 2005-2018