Elements как синоним ElementsByRow

Пересобрал справку
This commit is contained in:
Mikhalkovich Stanislav 2025-11-07 20:41:15 +03:00
parent caeb74c9fd
commit 00a512fc1e
7 changed files with 11 additions and 5 deletions

View file

@ -15,7 +15,7 @@ internal static class RevisionClass
public const string Major = "3";
public const string Minor = "11";
public const string Build = "0";
public const string Revision = "3677";
public const string Revision = "3679";
public const string MainVersion = Major + "." + Minor;
public const string FullVersion = Major + "." + Minor + "." + Build + "." + Revision;

View file

@ -1,4 +1,4 @@
%MINOR%=11
%REVISION%=3677
%REVISION%=3679
%COREVERSION%=0
%MAJOR%=3

View file

@ -1 +1 @@
3.11.0.3677
3.11.0.3679

View file

@ -1 +1 @@
!define VERSION '3.11.0.3677'
!define VERSION '3.11.0.3679'

View file

@ -80,6 +80,7 @@ function RAI(n: integer) := ReadArrInteger(n);
function RAR(n: integer) := ReadArrReal(n);
function Pr(Self: integer): integer; extensionmethod := Self.Print;
function Pr(Self: int64): int64; extensionmethod := Self.Print;
function Pr(Self: real): real; extensionmethod := Self.Print;
function Pr(Self: Biginteger): Biginteger; extensionmethod := Self.Print;
function Pr(Self: char): char; extensionmethod := Self.Print;
@ -89,6 +90,7 @@ function Pr(Self: string): string; extensionmethod := Self.Print;
function Pr<T>(Self: array [,] of T; w: integer := 4): array [,] of T; extensionmethod := Self.Print(w);
function Prln(Self: integer): integer; extensionmethod := Self.Println;
function Prln(Self: int64): int64; extensionmethod := Self.Println;
function Prln(Self: real): real; extensionmethod := Self.Println;
function Prln(Self: Biginteger): Biginteger; extensionmethod := Self.Println;
function Prln(Self: char): char; extensionmethod := Self.Println;
@ -455,4 +457,4 @@ begin
end;
end.
end.

View file

@ -12996,6 +12996,10 @@ begin
yield Self[i, j]
end;
/// Возвращает по заданному двумерному массиву последовательность его элементов по строкам
function Elements<T>(Self: array [,] of T): sequence of T; extensionmethod := Self.ElementsByRow;
/// Возвращает по заданному двумерному массиву последовательность его элементов по столбцам
function ElementsByCol<T>(Self: array [,] of T): sequence of T; extensionmethod;
begin

Binary file not shown.