.net - What does "A type cannot be be used as a standalone statement" error mean? -
this delphi prism .net. running error(s), "a type cannot be used standalone statement", , don't understand or know why. compiler pointing @ lines right below var keywords.
method scriptdlgpas.executestartup; var sname:string; <------ error raised here slist:arraylist; <------ error raised here begin sname := basedir+'system\startup.scr'; if file.exists(sname) begin slist := new arraylist; executescript(slist); end; end;
the google search isn't helping either.
thanks in advance.
there's above doesn't closed properly.
Comments
Post a Comment