FloatingPoint組み込みファンクション - Predメソッド
数から1を引く
FloatingPoint組み込みファンクション (PRIM_LIBI.IFloatingPointIntrinsics) のメンバ
パラメータ
名前 | タイプ | データタイプ | 記述 |
|---|---|---|---|
Result | *Result (任意) | 浮動 | 前の数 |
詳細
Pred は、指定された変数を 1 減少させて返します。
例
If (#Previous = #Current.Pred)
これは、以下の例と同等です。
If (#Previous = (#Current - 1))