ex14.pp 309 B

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