Tech Tutorials Database
GeekArticles Programming Delphi
 

Troubleshooting the "Left Side Cannot Be Assigned To" Compile Time Delphi Error

 
Author: delphi.about.com
Category: Delphi
Comments (0)

<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> &#124; <a Object Oriented Programming with Delphi</a> &#124; <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>

Read More...




Sponsored Links




Read Next: My App Is FASTER Than Your App - Delphi / RAD Studio 2010 T-Shirt



 

 

Comments



Post Your Comment:

Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe