Move
28/09/2004
0
Colegas:
Alguém saberia o pq do Access Violation :?:
var s:String[2]; begin Move(PChar(´xx´)^, s[1], 2); // funciona Move(PChar(´x´)^, s[1], 1); // Access Violation end;
Alguém saberia o pq do Access Violation :?:
Ipc$
Curtir tópico
+ 0
Responder
Posts
28/09/2004
Beppe
A literal ´x´ é um Char. Não são Strings, em nivel de implementação. Tente
Move(PChar(String(´x´))^, s[1], 1);
Responder
Clique aqui para fazer login e interagir na Comunidade :)