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
UK's Online Safety Act
by
bobby100
[
Today
at 10:35:30 am]
Artificial intelligence
by
Thaddy
[
Today
at 10:32:26 am]
Programs writing programs...
by
cdbc
[
Today
at 10:19:59 am]
INET TLUDPcomponent for i...
by
cdbc
[
Today
at 10:12:34 am]
A Tip for beginners
by
tetrastes
[
Today
at 10:10:04 am]
Restoring minimized scree...
by
Nico
[
Today
at 10:01:36 am]
FPC 3.2.4, naming suggest...
by
cdbc
[
Today
at 09:40:30 am]
Feature announcement: Imp...
by
Thaddy
[
Today
at 09:37:38 am]
MQTT Client
by
Thaddy
[
Today
at 06:41:06 am]
Amigo programming languag...
by
paxscript
[
Today
at 06:03:23 am]
Form editer strange behav...
by
TheMouseAUS
[
Today
at 03:48:44 am]
Strange form designer beh...
by
TheMouseAUS
[
Today
at 03:47:39 am]
Post your artwork made fr...
by
BubikolRamios
[
Today
at 02:36:29 am]
Nested declarations insid...
by
440bx
[
Today
at 02:13:29 am]
TImage colors incorrect
by
Jonny
[
Today
at 01:24:06 am]
Using Masurement Computin...
by
Sander
[January 17, 2025, 11:33:30 pm]
Lazarus Release Candidate...
by
verasan
[January 17, 2025, 10:25:58 pm]
VGM Player
by
Gigatron2
[January 17, 2025, 09:29:09 pm]
How to avoid copying
by
Amir61
[January 17, 2025, 07:55:16 pm]
UnoLib - library in Pasca...
by
ackarwow
[January 17, 2025, 07:25:40 pm]
Bug in the formula MATCH
by
wp
[January 17, 2025, 06:38:31 pm]
Problem in writing formul...
by
wp
[January 17, 2025, 06:16:53 pm]
Preparing FPC 3.2.4, poin...
by
lainz
[January 17, 2025, 02:29:45 pm]
LCL Web Native with D2Bri...
by
BlueIcaro
[January 17, 2025, 01:06:25 pm]
Connection issues, contin...
by
Zvoni
[January 17, 2025, 12:48:24 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: what's difference between Variant and TVarRec? (Read 984 times)
egsuh
Hero Member
Posts: 1520
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: 2352
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: 5802
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