Assignments

Top  Previous  Next

What is translated > Assignments

A simple assignment statement in Delphi looks like:

 

A := B;

 

This becomes in C++ to

 

A = B;

 

However, some simple assignments in Delphi are producing warnings or even bugs in C++. Therefore

 

explicit casts, especially for void pointers or

special assignment routines

 

are necessary in C++.

 

A special kind of assignments are assignment of multi-line strings.



This page belongs to the Delphi2Cpp Documentation

Delphi2Cpp home  Content