[lazarus] "Variant" variable ?
weus at quicknet.nl
Wed Apr 26 18:32:01 EDT 2000
At 12:43 26-04-2000 -0700, dvortex wrote:
>Where is TVarRec declared ?
>(so i can start from there and overload it ... --hehehe i love that
They are defined in system.pas (Delphi) and as part of system.pp in
>Can someone tell me if this is correct:
>Load typinfo.pp from ./rtl/objpas.pp
>go to line 90
>this is the declaration of a type called TTypeData (if i read this right).
>The first line under (line 91) is a case statement (sort of like what i
>asked earlier). i do not understand how this works. it doesn't make any
>sense to me. i visualize this as having a record that has different
>property depending of the value of one.
Nope, these values are a kind of placeholders. AFAIK they don't have a
meaning (exept for the developer). Fields are reffered through their name
(and therefore must be unique)
>someone care to spend some time to explain to me this ?
See my other mail.
More information about the Lazarus