[DUG] StrCopy problem

Ross Levis ross at stationplaylist.com
Sun May 12 02:38:44 NZST 2013


var

  a: pChar;

  b: pChar;

begin

  a := 'abcdefghi';

  b := 'jklmnopqr';

  StrCopy(a,b);

end;

 

Question:  Why does this code crash?

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20130512/5b457526/attachment.html 


More information about the Delphi mailing list