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
Remote access to database...
by
wcage03
[
Today
at 03:25:27 am]
Converting a Project from...
by
egsuh
[
Today
at 03:23:38 am]
Online Package Manager
by
Guva
[
Today
at 02:27:21 am]
PostgreSQL "no route to h...
by
wcage03
[
Today
at 02:26:44 am]
Segmentation fault
by
Lauriet
[
Today
at 01:32:56 am]
IfThenStr does not work -...
by
Zoran
[
Today
at 12:54:58 am]
Bug in md5 unit?
by
Bart
[March 16, 2025, 10:57:41 pm]
TValueListEditor wont acc...
by
Bart
[March 16, 2025, 10:47:09 pm]
Lazarus crashes when link...
by
dsiders
[March 16, 2025, 10:02:13 pm]
Force parameters of my ap...
by
Ericktux
[March 16, 2025, 09:17:46 pm]
[maybe SOLVED] BUG in Inp...
by
TRon
[March 16, 2025, 08:47:10 pm]
R3D - 3D Rendering Librar...
by
Lulu
[March 16, 2025, 07:57:46 pm]
TControlBar and hence the...
by
jamie
[March 16, 2025, 07:42:53 pm]
Qt 6.7 font features opti...
by
AlexTP
[March 16, 2025, 07:36:46 pm]
Hooking to `OnISupport` d...
by
Gustavo 'Gus' Carreno
[March 16, 2025, 07:32:14 pm]
NIL vs. Assign: when to u...
by
Zoran
[March 16, 2025, 07:09:40 pm]
mp4 video programming wit...
by
Thaddy
[March 16, 2025, 05:58:48 pm]
TScrollBox Not Scrolling ...
by
lhl
[March 16, 2025, 04:06:25 pm]
GTK3 still alpha
by
ALLIGATOR
[March 16, 2025, 03:06:15 pm]
The Silver Coder on YouTu...
by
paweld
[March 16, 2025, 01:38:01 pm]
[LazFreeType] effect on t...
by
domasz
[March 16, 2025, 12:40:51 pm]
efficiency problem
by
jamie
[March 16, 2025, 12:33:38 pm]
LazTTF2Vector - An Enhanc...
by
domasz
[March 16, 2025, 08:03:49 am]
App crashes in main menu ...
by
Igor Kokarev
[March 16, 2025, 08:02:20 am]
to read an UTF8 text file
by
cdbc
[March 16, 2025, 07:41:32 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: what's difference between Variant and TVarRec? (Read 1060 times)
egsuh
Hero Member
Posts: 1558
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: 5899
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