Delphi Programming

  1. Home
  2. Computing & Technology
  3. Delphi Programming
Glossary|Tips/Tricks|FREE App/VCL|Best'O'Net|Books|Link Back
System unit
DELPHI RTL Reference

Types:

TDateTime type
Represents a date and time value.

Procedures/Functions:


Abs function
Returns the absolute value of a number.

Addr function
Returns the address of a variable or routine.

Assigned function
Determines if the pointer or procedure referenced is not nil (assigned)

Assert function
Use Assert as a debugging tool to test that certain conditions are always True (as assumed)

Break procedure
Immediately exits the iteration in which it appears.

Chr function
Returns the character for a specified ASCII value.

CmdLine variable
Returns the pointer to string that contains the command-line arguments.

Concat function
Concatenates two or more strings into a single string.

Continue function
Passes control to the next iteration of the enclosing iteration statement in which it appears.

Copy function
Returns a substring of a string or a segment of a dynamic array.

Dec procedure
Decrements an ordinal value by N.

Delete procedure
Removes a substring from a string.

Erase procedure
Deletes a file.

Exclude procedure
Removes an element to a set.

Exit function
Exits the method in which it appears.

Exp function
Returns the base of natural logarithms (e) raised to a power.

FillChar procedure
Charges a variable with adjoining values of byte or char.

Frac function
Returns the fractional part of a number.

GetDir function
Returns the name of the current directory for a specified drive.

Halt function
Terminates a program abnormally.

High function
Returns the upper limit of an Ordinal, Array, or ShortString value.

Inc procedure
Increments an ordinal value by N.

Include procedure
Adds an element to a set.

Insert procedure
Inserts a substring into a string at a given position.

Int function
Returns the integer part of a number.

Ln function
Returns the natural logarith of a number.

Length function
Returns an integer containing the number of characters in a string or the number of elements in an array.

Low function
Returns the lower limit of an Ordinal, Array, or ShortString value.

Odd function
Returns True if a given integer value is an odd number.

Ord function
Returns an Integer representing the ordinal value of an ordinal value.

ParamCount function
Returns the number of command-line parameters.

ParamStr function
Returns the specified command-line parameter.

Pi function
Returns number: 3.1415926535897932385

Pos function
Returns an integer specifying the position of the first occurrence of one string within another.

Pred function
Returns the predecessor of the ordinal value.

Ptr function
Converts a specified address to an untyped pointer.

Random function
Returns a randomly generated number within a specified range.

Randomize procedure
Initializes the random number generator.

Round function
Rounds a real number to nearest integer number.

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.

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.

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

Succ function
Returns the successor of the ordinal value.

Trunc function
Truncates a real number to an integer number.

UpCase function
Converts a character to uppercase.

Val procedure
Converts a string to a numeric 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

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

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

Delphi Programming

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

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

All rights reserved.