Languages

Fsharp
ActionScript
xBase
Clean
GPSS
PureBasic
Sieve
Erlang
JOVIAL
Mercury
Linda
DataFlex
PostScript
FoxPro2
VFP
Cobol
Prolog
Jython
Awk
VisualBasic
JavaScript
Matlab
ASP
Haskell
Csharp
D
Smalltalk
Nemerle
Pixilang
Java
SQL
Python
ObjectPascal
Ruby
Perl
Pascal
Assembler
PHP
C
Functions  Add function  Users  Registration  Enter   About  ASCII Table  Our helpers

Chr in Pascal

Chr function
----------------------------------------------------------------
Declaration:
function Chr( X : Byte) : Char;

Example:
var
I : Integer;
S : String;
...
{ Convert all upper case letters to lower case letters }
for I := 1 to Length(S) do
if (S[I]>='A') and (S[I]<='Z') then
S[I] := Chr( Ord(S[I]) + 32 );

Purpose:
Chr (often pronounced "char") is used to translate the integer valued byte
expression to a char-type value. Effectively, Chr converts an ASCII character
code in the range 0 to 255 to a character type. To convert a character value
to an integer, use the Ord function.
See Ord
Add by Pancho
You can edit it here
Adding comments is available only for registered users.

Frog Killer Caught in the Act

Photo of a Panamanian golden frog.

A killer has been caught in the act: the first before-and-after view of an infectious disease that led to an amphibian die-off has been released by the scientists who tracked it.

The results are published this week in the journal Proceedings of the National Academy of Sciences (PNAS).

Like a wave, incidence of the fungal disease that wipes out Central American frogs--chytridiomycosis--advances through the region's highlands at a rate of about 30 kilometers ...

More at http://www.nsf.gov/news/news_summ.jsp?cntn_id=117348&WT.mc_id=USNSF_51&WT.mc_ev=click


This is an NSF News item.

PycckaR
BepcuR


Articles
Articles


Library
Library


Downloads
Downloads

Google Chrome Golf 6
 © Internet, books, teachers and Rudevich Alexander brains.