GetIgnoreList
Returns the current ignore list (populated by Ignore, cleared by IgnoreReset).
In DWS, returns TArray<Cardinal> directly. The DWS overload also supports the legacy TStringList variant (IDs in hex format).
In PascalScript, only the TStringList variant is available. The list must be created before calling and freed after use. IDs are in hex format.
In Python, returns list[int].
Возвращает текущий список игнорирования (заполняется через Ignore, очищается через IgnoreReset).
function GetIgnoreList: TArray<Cardinal>;
DWS overload (legacy):
function GetIgnoreList(var UserList: TStringList): Boolean;
function GetIgnoreList(var UserList: TStringList): Boolean;
def GetIgnoreList() -> list[int]: ...
DWS:
var
IgnoreList: TArray<Cardinal>;
i: Integer;
begin
IgnoreList := GetIgnoreList;
for i := 0 to Length(IgnoreList) - 1 do
AddToSystemJournal(IntToHex(IgnoreList[i], 8));
end.
Pascal Script:
var
UserList: TStringList;
i: Integer;
begin
UserList := TStringList.Create;
try
if GetIgnoreList(UserList) then
for i := 0 to UserList.Count - 1 do
AddToSystemJournal(UserList[i]);
finally
if Assigned(UserList) then
UserList.Free;
end;
end.
for ignored_id in GetIgnoreList():
AddToSystemJournal(f'{ignored_id:08X}')