Add

Tuesday, August 4, 2009

String Data Types

String Data Types
String data is data that is made up of strings of characters. The data that isplaced in word processors is string data.
In C/AL constants, the symbol used to distinguish string data is the single quote, also known as an apostrophe ('). All string constantsare surrounded by single quotes.
Text
A text is a string of 0 to 250 characters. The length of a text is the number ofcharacters in it.
Code
A code is a special kind of text. All letters are forced to upper case and allleading and trailing spaces are removed. In addition, when displayed to theuser, a code is automatically right justified if all characters in it are numbers.

No comments: