pascalabcnet/TestSuite/intellisense_tests/extensionmethods9.pas

7 lines
295 B
ObjectPascal
Raw Permalink Normal View History

2018-12-16 20:19:51 +03:00
begin
var ch: char;
ch.IsDigit{@(расширение) function char.IsDigit(): boolean;@};
2018-12-31 13:12:08 +03:00
char.IsDigit{@static function char.IsDigit(c: char): boolean;@}(ch);
var a: array of byte;
a.Reverse{@(расширение sequence of T) function Reverse<byte>(): sequence of byte;@};
2018-12-16 20:19:51 +03:00
end.