Skip to content

for X in Y do ; #52

@silvioprog

Description

@silvioprog

Hello,

Would be nice if the PS accepted the new FOR structure of Free Pascal / XE. E.g.:

var
  s: string;
  sl: TStringList;
begin
  sl := TStringList.Create;
  try
    sl.Add('A');
    sl.Add('B');
    sl.Add('C');
    for s in sl do
      WriteLn(s);
  finally
    sl.Free;
  end;
end;

Issued on: http://bugs.freepascal.org/view.php?id=24859

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions