[next] [prev] [prev-tail] [tail] [up]

#### Upcase

Declaration:
  Function Upcase (C : Char or string) : Char or String;
Description:
  Upcase returns the uppercase version of its argument C. If its argument is a string, then the complete string is converted to uppercase. The type of the returned value is the same as the type of the argument.
Errors:
  None.
See also:
  Lowercase (531)

Listing: refex/ex72.pp

Program Example72;
{ Program to demonstrate the Upcase function. }
Var I : Longint;
begin
For i:=ord('a') to ord('z') do
write (upcase(chr(i)));
Writeln;
{ This doesn't work in TP, but it does in Free Pascal }
Writeln (Upcase('abcdefghijklmnopqrstuvwxyz'));
end.

[next] [prev] [prev-tail] [front] [up]