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

  1. Program Example14;
  2.  
  3. Uses strings;
  4.  
  5. { Program to demonstrate the StrLower and StrUpper functions. }
  6.  
  7. Const 
  8.     P1 : PChar = 'THIS IS AN UPPERCASE PCHAR STRING';
  9.     P2 : PChar = 'this is a lowercase string';
  10.  
  11. begin
  12.   Writeln ('Uppercase : ',StrUpper(P2));
  13.   StrLower (P1);
  14.   Writeln ('Lowercase : ',P1);
  15. end.
  16.