Hi, I supose it's something very easy, but I realy don't known how to 
do it.
P is a PAnsiChar variable and S is a String variable.
This sentence is fine:
 S := P;
But the inverse sentence is not:
 P := S;
(I get a compiler error message: Incompatible types: 'String' 
and 'PAnsiChar')
So, I try another track. It's possible to do:
 P^ := '0';
But it's not possible to do:
 for i := 1 to Length(S) do
 P^ := Copy(S, i, 1);
Conclusion: I need to append S to P but I don't known how to do it.
Can somebody help me?





------------------------ Yahoo! Groups Sponsor --------------------~--> 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/WpTY2A/izNLAA/yQLSAA/i7folB/TM
--------------------------------------------------------------------~-> 

-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to