SubString inconsistancy
Posted: Fri Aug 07, 2009 1:08 pm
by . >> Mon, 21 May 2007 22:21:54 GMT
Why does the following script not give an error
vars
str : String;
begin
str := null;
write str[6];
While this one does (as I would expect)?
vars
str : String;
begin
str := 'a';
write str[6];
Why does the following script not give an error
vars
str : String;
begin
str := null;
write str[6];
While this one does (as I would expect)?
vars
str : String;
begin
str := 'a';
write str[6];