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

  1. Program Example3;
  2.  
  3. Uses strings;
  4.  
  5. { Program to demonstrate the StrPas function. }
  6.  
  7. Const P : PChar = 'This is a PCHAR string';
  8.  
  9. var S : string;
  10.  
  11. begin
  12.   S:=StrPas (P);
  13.   Writeln ('S : ',S);
  14. end.
  15.