Difference between revisions of "LIST STAT RANGE/ja"

From Second Life Wiki
Jump to navigation Jump to search
(Initial translation)
 
 
Line 7: Line 7:
|text=
|text=
|pb=
|pb=
|examples=<lsl>float range = llListStatistics( LIST_STAT_RANGE, numList );</lsl>
|examples=<source lang="lsl2">float range = llListStatistics( LIST_STAT_RANGE, numList );</source>


<lsl>float max = llListStatistics( LIST_STAT_MAX, numList );
<source lang="lsl2">float max = llListStatistics( LIST_STAT_MAX, numList );
float min = llListStatistics( LIST_STAT_MIN, numList );
float min = llListStatistics( LIST_STAT_MIN, numList );
float range = max - min;</lsl>
float range = max - min;</source>
|constants=
|constants=
<!--{{LSL ConstRow|CHANGED_SHAPE}}-->
<!--{{LSL ConstRow|CHANGED_SHAPE}}-->

Latest revision as of 15:17, 25 February 2016

解説

定数: integer LIST_STAT_RANGE = 0;

integer 定数 LIST_STAT_RANGE の値は 0 です。

リストの値がとる範囲の大きさ (= 最大値 - 最小値) を返します。

関連記事

関数

•  llListStatistics

サンプル

float range = llListStatistics( LIST_STAT_RANGE, numList );
float max = llListStatistics( LIST_STAT_MAX, numList );
float min = llListStatistics( LIST_STAT_MIN, numList );
float range = max - min;

特記事項

この翻訳は 原文 と比べて古いですか?間違いがありますか?読みにくいですか?みんなで 修正 していきましょう! (手順はこちら)