| Glossary|Tips/Tricks|FREE App/VCL|Books|Link Back |
| Type conversion routines |
| DELPHI RTL Reference |
BinToHex procedure
Converts a binary value to its hexadecimal representation.BoolToStr function
Returns a string from a boolean value.Bounds function
Returns the TRect type variable from a rectangle given with width and height.HexToBin procedure
Converts a string of hexadecimal digits to its binary representation.Point function
Returns the Point type variable from two integers.Rect function
Returns the TRect type variable from a rectangle given with top-left and bottom-right coordinate.StrToBool function
Returns a boolean from a string value, if *possible*.StrToBoolDef function
Returns a boolean from a string value, on error returns "Default".StrToInt function
Converts a string to an integer.TryStrToBool function
Converts a string to a boolean value with a Boolean success code.TryStrToInt function
Converts a string to an integer, returns False if string does not represent a valid number.more to come...
| Free Delphi code snippet inside every Delphi Newsletter! |
|
|
| Got some code to share? Got a question? Need some help? |
|
|

