<div dir="ltr">Hi,<div><br></div><div style>I like when Free Pascal trying to implement best practices from other languages. That was with increment variable using assign operator: i += 1.</div><div style>Anyway, few days ago I analyzed C++ code and I liked one syntax:</div>
<div style><br></div><div style>if ( ( i = GetSomeValue ) >= 10 ) {</div><div style> // variable "i" already has value returned by GetSomeValue</div><div style>}</div><div style><br></div><div style>I wonder if FPC has equivalent for this.</div>
<div style><br></div><div style>Regards</div></div>