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
File open or File close -...
by
paule32
[
Today
at 01:35:31 pm]
How To: Create and React ...
by
paweld
[
Today
at 01:19:22 pm]
ALSA lib pcm_dmix.c:1000:...
by
Fred vS
[
Today
at 12:42:33 pm]
Program crashing with exc...
by
pleumann
[
Today
at 12:40:27 pm]
"database not open" - IBX...
by
rvk
[
Today
at 12:30:54 pm]
IDE tabs and spaces, auto...
by
chris_laz
[
Today
at 11:51:57 am]
[maybe SOLVED] BUG in Inp...
by
zeljko
[
Today
at 11:51:44 am]
Converting a Project from...
by
jcmontherock
[
Today
at 11:24:26 am]
Creating Self Signed Cert...
by
Trax
[
Today
at 11:22:19 am]
Lazarus Release Candidate...
by
timppl
[
Today
at 10:23:28 am]
Checking for number or no...
by
alpine
[
Today
at 09:25:55 am]
Markdown Processor
by
Roland57
[
Today
at 08:31:53 am]
Uninstall
by
TRon
[
Today
at 08:26:46 am]
Internal error
by
WooBean
[
Today
at 08:18:23 am]
How to draw a point on a ...
by
desconocido
[
Today
at 03:40:46 am]
Problemas ao acessar o si...
by
Gustavo 'Gus' Carreno
[
Today
at 03:25:10 am]
[Solved] About TIdIRC and...
by
Gustavo 'Gus' Carreno
[March 20, 2025, 11:24:42 pm]
Tcsvdataset issue
by
silvercoder70
[March 20, 2025, 11:24:26 pm]
[Solved] Hooking to `OnIS...
by
Gustavo 'Gus' Carreno
[March 20, 2025, 10:39:36 pm]
Graphics32 installation e...
by
AndersM
[March 20, 2025, 09:12:27 pm]
How to assign value to re...
by
MarkMLl
[March 20, 2025, 08:50:09 pm]
Lazmapviewer: overlaying ...
by
MarkMLl
[March 20, 2025, 07:29:30 pm]
TPrintDialog disable Prop...
by
Zvoni
[March 20, 2025, 04:19:29 pm]
Zebra printer and LazRepo...
by
tito_livio
[March 20, 2025, 03:55:17 pm]
Cannot update a record us...
by
Zvoni
[March 20, 2025, 02:39:34 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: what's difference between Variant and TVarRec? (Read 1065 times)
egsuh
Hero Member
Posts: 1562
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: 5904
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