home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #5 / Amiga Plus CD - 2000 - No. 5.iso / Tools / Dev / fpc / source / docs / refex / ex72.pp < prev    next >
Encoding:
Text File  |  2000-01-01  |  278 b   |  14 lines

  1. Program Example72;
  2.  
  3. { Program to demonstrate the Upcase function. }
  4.  
  5. Var I : Longint;
  6.  
  7. begin
  8.   For i:=ord('a') to ord('z') do
  9.     write (upcase(chr(i)));
  10.   Writeln;
  11.   { This doesn't work in TP, but it does in Free Pascal }
  12.   Writeln (Upcase('abcdefghijklmnopqrstuvwxyz'));
  13. end.
  14.