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
Pdf file size is huge wit...
by
meeeeeeeeee
[
Today
at 02:56:25 am]
Why isn't Lazarus / Free ...
by
Joanna from IRC
[
Today
at 02:48:16 am]
Help Wanted
by
dbannon
[
Today
at 02:34:37 am]
Include Informative Line ...
by
dbannon
[
Today
at 02:25:08 am]
how to compile multiple m...
by
dbannon
[
Today
at 02:11:23 am]
Lazarus Release 4.0
by
flowCRANE
[
Today
at 01:10:42 am]
FPC 3.2.2 + NASM Windows ...
by
munair
[
Today
at 12:42:00 am]
Basic Q: in TreeView one ...
by
d7_2_laz
[May 11, 2025, 11:15:39 pm]
Some links from Lazarus H...
by
Martin_fr
[May 11, 2025, 09:15:32 pm]
pigpioread - Show Raspber...
by
avra
[May 11, 2025, 09:04:36 pm]
TShape.SetTempCursor, how...
by
zeljko
[May 11, 2025, 08:34:25 pm]
RayLib 5.0
by
threedslider
[May 11, 2025, 08:19:39 pm]
randomize
by
Thaddy
[May 11, 2025, 05:26:25 pm]
LAMW arduino serial comm ...
by
Mongkey
[May 11, 2025, 05:23:58 pm]
Building Lazarus 3.4 with...
by
Fred vS
[May 11, 2025, 05:08:47 pm]
type helper not work on q...
by
PascalDragon
[May 11, 2025, 04:38:33 pm]
Maybe we should do a port...
by
PascalDragon
[May 11, 2025, 04:14:11 pm]
FPC 3.2.2 - how to fix ex...
by
PascalDragon
[May 11, 2025, 04:10:33 pm]
Library: Embed DLL in EXE
by
Thaddy
[May 11, 2025, 03:43:31 pm]
Copper Chunky Pixel
by
Gigatron
[May 11, 2025, 02:57:04 pm]
A fix causes double space...
by
dbannon
[May 11, 2025, 02:10:33 pm]
TForm's SystemButtonClick...
by
Bart
[May 11, 2025, 01:31:12 pm]
Practical Ways to Help La...
by
silvercoder70
[May 11, 2025, 11:57:00 am]
A Cross Compiler Logger
by
CM630
[May 11, 2025, 11:48:36 am]
BGRA Grid Texture Demo
by
Gigatron
[May 10, 2025, 10:53:13 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: what's difference between Variant and TVarRec? (Read 1095 times)
egsuh
Hero Member
Posts: 1600
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: 2407
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: 5959
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