LineCount
Returns the number of matches found by the last InJournal or InJournalBetweenTimes call.
This property is updated after each journal search operation.
Возвращает количество совпадений, найденных последним вызовом InJournal или InJournalBetweenTimes.
Это свойство обновляется после каждой операции поиска по журналу.
function LineCount: Integer;
def LineCount() -> int: ...
begin
SetJournalLine(0);
if InJournal('gold') >= 0 then
AddToSystemJournal('Found ' + IntToStr(LineCount) + ' matches for "gold"');
end.
SetJournalLine(0)
if InJournal('gold') >= 0:
AddToSystemJournal(f'Found {LineCount()} matches for "gold"')