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
Warning on identifier usa...
by
Khrys
[
Today
at 09:40:09 am]
Commandline parsing
by
MarkMLl
[
Today
at 09:34:10 am]
Just Curious: When has an...
by
Mr.Madguy
[
Today
at 08:55:57 am]
Option "RemoveExpressionR...
by
bytebites
[
Today
at 08:44:51 am]
Here is almost full list ...
by
Thaddy
[
Today
at 08:31:03 am]
Why VirtualDBTreeEx not c...
by
Zvoni
[
Today
at 08:28:04 am]
TImageList.draw is not dr...
by
daniel_sap
[
Today
at 07:51:31 am]
Lazarus is not working
by
Amir61
[
Today
at 06:57:42 am]
(solved)how to define cor...
by
joguenco
[March 27, 2025, 10:57:58 pm]
Rudimentary Lunar Lander
by
TBMan
[March 27, 2025, 09:23:18 pm]
Rotating text in BGRA
by
DomingoGP
[March 27, 2025, 09:12:01 pm]
"database not open" - IBX...
by
rvk
[March 27, 2025, 08:22:58 pm]
Lazarus Release Candidate...
by
zeljko
[March 27, 2025, 07:45:17 pm]
Fpcupdeluxe
by
Hartmut
[March 27, 2025, 07:32:02 pm]
divide a Unit to several ...
by
TRon
[March 27, 2025, 05:28:34 pm]
How to delete from app il...
by
d2010
[March 27, 2025, 04:14:05 pm]
PasGame a easy to use gam...
by
hanisoftwares
[March 27, 2025, 04:01:37 pm]
Laz mupdf (SumatraPDF loa...
by
domasz
[March 27, 2025, 03:38:54 pm]
[Solved]I'm puzzled and b...
by
tetrastes
[March 27, 2025, 03:37:01 pm]
ParambyName - how to stri...
by
tonyw
[March 27, 2025, 11:13:14 am]
Weird error: component no...
by
Thaddy
[March 27, 2025, 10:47:09 am]
Correct events to restore...
by
anse
[March 27, 2025, 09:51:51 am]
basic question for good s...
by
cdbc
[March 27, 2025, 09:50:53 am]
Programmatically trigger ...
by
Khrys
[March 27, 2025, 07:45:11 am]
/lib/x86_64-linux-gnu/lib...
by
TRon
[March 27, 2025, 07:42:00 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: what's difference between Variant and TVarRec? (Read 1070 times)
egsuh
Hero Member
Posts: 1568
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: 2389
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: 5909
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