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
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Introducing PasBuild 1.0....
by
BSaidus
[
Today
at 02:52:31 pm]
How can I make a safe app...
by
Nimbus
[
Today
at 02:51:51 pm]
So many "newbies"
by
gidesa
[
Today
at 02:51:17 pm]
Lazreport. Multiple print...
by
Petrus Vorster
[
Today
at 02:32:53 pm]
[SOLVED] Need help conver...
by
srvaldez
[
Today
at 01:52:33 pm]
SpkToolbar custom update
by
wp
[
Today
at 01:48:16 pm]
OS/2 Warp 4 problem with ...
by
Thaddy
[
Today
at 01:35:10 pm]
Is FPGUI still active?
by
BSaidus
[
Today
at 01:25:31 pm]
Bitmap into Paintbox
by
BubikolRamios
[
Today
at 12:58:20 pm]
Notetask 1.1.0 - Free cro...
by
AlexanderT
[
Today
at 12:11:14 pm]
Matching video to form
by
Pe3s
[
Today
at 10:56:47 am]
Is Lazarus' Tool Palette ...
by
Ed78z
[
Today
at 10:37:03 am]
[SOLVED] RXSwitch
by
Petrus Vorster
[
Today
at 10:35:00 am]
fpsockets error: 10047
by
rvk
[
Today
at 09:50:08 am]
Has anyone installed TeeB...
by
egsuh
[
Today
at 09:10:09 am]
Military Grade Directives
by
Thaddy
[
Today
at 08:56:12 am]
Permutation of rows and c...
by
Zvoni
[
Today
at 08:33:20 am]
Jacks or Better card game...
by
TBMan
[
Today
at 03:12:03 am]
Strings and special chara...
by
TBMan
[
Today
at 12:08:26 am]
Mapping Images Like Odome...
by
SandyG
[December 10, 2025, 05:22:27 pm]
Using WriteLn inside dll
by
Thaddy
[December 10, 2025, 04:16:20 pm]
Hello everyone!
by
Curt Carpenter
[December 10, 2025, 03:55:40 pm]
Avoid system units debugg...
by
janasoft
[December 10, 2025, 12:13:42 pm]
Struggling with Orthello/...
by
Dzandaa
[December 10, 2025, 11:48:43 am]
[SOLVED] progress dialog ...
by
Phoenix
[December 10, 2025, 11:14:23 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: what's difference between Variant and TVarRec? (Read 1263 times)
egsuh
Hero Member
Posts: 1711
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: 2469
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: 6235
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