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
IFS Fractals: Iterating t...
by
Boleeman
[
Today
at 09:31:05 am]
Unwanted additional line ...
by
CM630
[
Today
at 08:55:13 am]
How to copy file to web
by
TRon
[
Today
at 07:56:04 am]
DBGrid editing control
by
dsiders
[
Today
at 05:45:36 am]
Animated GIF's and Lazaru...
by
Aruna
[
Today
at 05:44:42 am]
TCheckGroup Child Alignme...
by
dsiders
[
Today
at 05:34:14 am]
MainMenu: How to use the ...
by
rich2014
[
Today
at 02:45:31 am]
Interesting article about...
by
440bx
[
Today
at 02:39:50 am]
Lazarus for Windows on aa...
by
msintle
[
Today
at 02:33:01 am]
Common File Dialogs Have ...
by
msintle
[
Today
at 02:32:24 am]
Q: Debug a plugin DLL - c...
by
440bx
[
Today
at 02:23:27 am]
[SOLVED] Classic objects ...
by
TRon
[
Today
at 02:19:36 am]
[Solved] Dumb SQLite ques...
by
dsiders
[
Today
at 12:44:26 am]
How make the GUI as one p...
by
dsiders
[
Today
at 12:39:39 am]
Starting a program with h...
by
jeremiah
[December 13, 2024, 10:57:53 pm]
SDL2 Fit image rotation b...
by
bobihot
[December 13, 2024, 10:31:27 pm]
[Solved] Crosshair error ...
by
Marq01
[December 13, 2024, 09:55:14 pm]
What is the history of di...
by
mika
[December 13, 2024, 09:49:59 pm]
fpweb documentation do no...
by
Sniper
[December 13, 2024, 09:02:16 pm]
Managed pointers
by
jksmithiii
[December 13, 2024, 08:42:29 pm]
[Solved] Debug a plugin D...
by
d7_2_laz
[December 13, 2024, 05:27:48 pm]
SAVE StringGrid to PDF
by
seghele0
[December 13, 2024, 05:19:19 pm]
Who catches the Linux sig...
by
MarkMLl
[December 13, 2024, 04:43:45 pm]
TvsComPort on MacOS Sierr...
by
Dzandaa
[December 13, 2024, 04:23:21 pm]
Adding interfaces to any ...
by
Warfley
[December 13, 2024, 03:48:44 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: what's difference between Variant and TVarRec? (Read 931 times)
egsuh
Hero Member
Posts: 1494
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: 2342
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: 5764
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