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

ASCII

By Zarko Gajic, About.com

Definition: ASCII assigns each English character and basic punctuation mark its own number from 0 to 127. Since the code is standard, every computer should be able to translate it into serviceable, if unglamorous, copy. So, when you're unsure what program - or what computer - is on the receiving end of a document, your safest bet is to save your file as plain ASCII text.

Examples: The capital letter A has an ASCII value of 65. The ASCII code for a space is 32.

You can reference a character by its ASCII code prefixed with a number sign (#). Example: To put the symbol for American cents into a character C, for example, you could code "c := #155;".

Pronunciation: ask-ee
Also Known As: American Standard Code for Information Interchange

Explore Delphi Programming

More from About.com

  1. Home
  2. Computing & Technology
  3. Delphi Programming
  4. Getting Started with Delphi
  5. Delphi Programming Glossary
  6. ASCII - Glossary - Delphi Programming

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

All rights reserved.