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
Groupview Partial loading...
by
AlexTP
[May 20, 2025, 10:37:31 pm]
Database Locked Exception
by
1HuntnMan
[May 20, 2025, 10:23:50 pm]
Acessing a file dialog fr...
by
Remy Lebeau
[May 20, 2025, 10:15:44 pm]
Error trying to initializ...
by
Remy Lebeau
[May 20, 2025, 10:09:51 pm]
how to post a post-reques...
by
Remy Lebeau
[May 20, 2025, 09:55:43 pm]
Aplicacion Lazarus : No f...
by
Ericktux
[May 20, 2025, 09:49:34 pm]
Unable to access the wiki
by
dsiders
[May 20, 2025, 09:46:52 pm]
LPK: Cannot find a unit w...
by
CM630
[May 20, 2025, 08:51:06 pm]
Volunteering Partner Need...
by
Om Bageshwaray Namah
[May 20, 2025, 08:43:08 pm]
IDE crashes and takes so ...
by
440bx
[May 20, 2025, 08:33:29 pm]
Include Informative Line ...
by
Nicole
[May 20, 2025, 07:33:08 pm]
Raspberry 5 Bookworm Laza...
by
af0815
[May 20, 2025, 07:09:18 pm]
string argument as array ...
by
Weiss
[May 20, 2025, 06:52:47 pm]
Newbie in Web Programming...
by
ginoo
[May 20, 2025, 05:46:26 pm]
Wiki access blocked
by
Thaddy
[May 20, 2025, 05:39:45 pm]
Custom Paper Size for Pri...
by
PawelO
[May 20, 2025, 04:53:24 pm]
Console User Interfaces
by
Curt Carpenter
[May 20, 2025, 04:44:56 pm]
FPC 3.2.2 - Components[In...
by
Awkward
[May 20, 2025, 03:58:47 pm]
Missing information relat...
by
jipété
[May 20, 2025, 03:19:16 pm]
Icon file was loaded on m...
by
AlexTP
[May 20, 2025, 01:02:16 pm]
crtbeginS.o and crtendS.o...
by
PeterBB
[May 20, 2025, 12:29:07 pm]
Tone Generator
by
Gigatron
[May 20, 2025, 12:28:45 pm]
Receipt printer dilemma
by
Petrus Vorster
[May 20, 2025, 12:03:06 pm]
ProjectTemplates - Copy s...
by
paweld
[May 20, 2025, 11:40:44 am]
Lazarus Release 4.0
by
CM630
[May 20, 2025, 09:08:14 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: what's difference between Variant and TVarRec? (Read 1096 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: 2411
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: 5968
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