In the following program, the capacity is not handled correctly. x contains the full alphabet (though it shouldn't), and y contains garbage (at least on Linux, not on DJGPP).
var y,x:string(10); begin y:=''; x:='abcdefghijklmnopqrstuvwxyz'; writeln(x); writeln(y) end.