variables delphi code example

Example: variables delphi

Variables

String = text (‘Hello world’)
Integer = Numbers(hole)
Real = Numbers (decimal)
Boolean = TRUE or FALSE
Char = Characters(A B C )
Char variable name := Edit.Text (number to get)
E.G 
Cname := Edit.text(4)
Ansar If (Edit.text = hello) then (Cname = l)

inttostr (>integer<)
Integer To string
Hole numbers to text
Strtoint (>string<)
String to integer
Text to hole numbers
Strtofloat (>string<)
String to Real
Text to Decimal numbers
Floattostr (>real<)
Real To string
Decimal number to Text

Ewrything in >< is plas holders

Tags:

Misc Example