System.Math.MaxIntValue

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function MaxIntValue(const Data: array of Integer): Integer;

C++

extern DELPHI_PACKAGE int __fastcall MaxIntValue(const int *Data, const System::NativeInt Data_High);

プロパティ

種類 可視性 ソース ユニット
function public
System.Math.pas
System.Math.hpp
System.Math System.Math

説明

整数配列内で最大の値を符号付きで返します。

MaxIntValue を呼び出すと、データ配列 Data 内で最大の整数を取得できます。C++ では、Data_Size は配列の最終要素のインデックス(要素数 - 1)です。

関連項目