1. Home
  2. Computing & Technology
  3. Delphi Programming
Glossary|Tips/Tricks|FREE App/VCL|Essentials|Books|Link Back
S...
DELPHI RTL Reference

SelectDirectory function
Brings up a dialog box ready for the user to select a directory name.

SetCurrentDir function
Sets the current directory.

SetLength procedure
Changes the size of a dynamic array or a string.

SetString procedure
Sets the lenght and contents of a given string.

SizeOf function
Returns the number of bytes occupied by a variable or type.

ShowMessage procedure
Displays a message in a dialog box, waits for the user to click an OK button.

ShowMessageFmt procedure
Displays formated message in a dialog box, waits for the user to click an OK button.

Sign function
Indicates whether a numeric value is positive, negative, or zero.

Sleep function
Pauses program execution for a specified number of microseconds.

Slice function
Returns a sub-section of an array.

Sqr function
Returns the square of a number.

Sqrt function
Returns the square root of a number.

Str procedure
Formats a string from an integer or floating point variable.

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.

StrToFloat function
Returns a floating point value from a string.

StringOfChar function
Returns a string containing a repeating character string of the length specified.

StringReplace function
Returns a string in which a specified substring has been replaced with another substring.

Succ function
Returns the successor of the ordinal value.


 Free Delphi code snippet inside every Delphi Newsletter!
Subscribe to the Newsletter
Name
Email

 Got some code to share? Got a question? Need some help?
Explore Delphi Programming
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Delphi Programming

©2009 About.com, a part of The New York Times Company.

All rights reserved.