Talk:Record
From Lazarus wiki
Revision as of 18:00, 7 October 2015 by FallingStar (talk | contribs) (Created page with "I am new to Pascal. After reading the doc, I can not understand what is the core of Variable structure. I mean: - What does the "case ... of" statement do? What is its effect...")
I am new to Pascal. After reading the doc, I can not understand what is the core of Variable structure. I mean:
- What does the "case ... of" statement do? What is its effect? Because according to me testing, nothing happend if I don't assign identifier of one of the constants. - Why do all of the fields have the same value (when debugging)? - How to use the variable structure?
I'm pretty confused. And as a matter of fact, it DOES harm to define one field multiple times, since it won't let you compile (FPC 2.6.4). Sorry because I don't know the wiki format. Thanks in advance.