GeekArticles
Programming
Delphi
Programming
DelphiTroubleshooting the "Left Side Cannot Be Assigned To" Compile Time Delphi Error
<p>in <a TIPS</i></a> :: According to the using of a Record Field/Property in a poll, only 20+% of Delphi developers know what usage of a Record Delphi type as a Property in a Class declaration will produce a compile time error while trying to assign a value to a field. </p>
<p>If you expose a Record type variable as a property of a Delphi class, trying to assign a value to one of record fields will result in side cannot be assigned as in:</p>
<p>objectInstance.RecordAsProperty.Field := SomeValue; erorr!</p>
<p>Read the full article to find out how to why this does not compile and <b><a to fix the left side cannot be assigned to error</a></b>.</p>
<p><b>Related:</b> <a the Record Type in Delphi</a> | <a Object Oriented Programming with Delphi</a> | <a Properties, Variables for Beginners</a></p>
<p 1px solid the Side Cannot Be Assigned Compile Time Delphi Error</a> originally appeared on <a Delphi Programming</a> on Thursday, October 15th, 2009 at 08:00:28.</p><p><a | <a | <a the Side Cannot Be Assigned Compile Time Delphi this</a></p>
Sponsored Links
Related Topics
Delphi Programming Almanacs: 1998. - 2011. Something for Every Delphi Developer: Beginner or a Guru!
Subscribe via RSS
Delphi
- A load of ASP.NET related tutorials, articles, tips and tricks!
- How to move PageControl's tabs using drag'n'drop
- Charts in database applications
- Creating Components Dynamically (at Run-Time)
- The role of the "AOwner" parameter in the Create constructor
- Creating a roll up form (with animation)
- Poll: Do you already have some experience with Delphi?
- Creating a database from Delphi code
- TMemoBar - T(Custom)Memo extender
- How to click-and-select a line in TMemo
