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

  1. Program Example1;
  2.  
  3. Uses strings;
  4.  
  5. { Program to demonstrate the StrLen function. }
  6.  
  7. Const P : PChar = 'This is a constant pchar string';
  8.  
  9. begin
  10.   Writeln ('P         : ',p);
  11.   Writeln ('length(P) : ',StrLen(P));
  12. end.
  13.