To convert a PPPChar to a String, you should be able to do MyString := String(MyPPPChar^^);
To convert from String to PPPChar, you will need some intermediate variables MyPChar := PChar(MyString); MyPPChar := @MyPChar; MyPPPChar := @MyPPChar; Sly ----- Original Message ----- From: "GongYu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 05, 2004 2:16 PM Subject: [fpc-pascal]how to convert a string to pppchar > i defined > type > PPPChar=^PPChar > end; > > now the question is how to convert a string to pppchar or convert a pppchar to string? > please help me. _______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal