Variables

Top  Previous  Next

What is translated > Variables

In Delphi declarations of variables in done in a section of code which begins with the var keyword. A single declaration then consists in a name followed by a double point and the type:

 

var

  str : AnsiString;

 

In C# the type is followed by the name.

 

AnsiString str;

 

 

But beneath these "normal" variables, special kinds of variables also can be declared in sections starting with:

 

threadvar

resourcestring

 

 



This page belongs to the DelphiXE2Cpp11 Documentation

DelphiXE2Cpp11 home  Content