Processing (BETA) version 135+ のリファレンスです。
旧バージョン使用者はソフトウェア内のリファレンスを参照してください。
この文書は Processing のAPIリファレンスを日本語に訳したものです。
最新の内容は 英語版 で確認して下さい。
| Name | int |
||||
|---|---|---|---|---|---|
| Examples | int a; // Declare variable "a" of type int a = 23; // Assign "a" the value 23 int b = -256; // Declare variable "b" and assign it the value -256 int c = a + b; // Declare variable "c" and assign it the sum of "a" and "b" |
||||
| Description | 小数点を持たない整数を表すデータ型です。 整数は -2,147,483,648 から 2,147,483,647 まで扱えます。 この型は32ビットの情報を格納します。 初めて変数に書き込むとき、文脈でデータ型を宣言しなければなりません。 Processing では一度データ型を宣言した後は、データ型を式に付加してはなりません。 | ||||
| Syntax | int var int var = value |
||||
| Parameters |
|
||||
| Usage | Web & Application | ||||
| Related | float |
この文書の原文はクリエイティブ・コモンズ(Creative Commons)のAttribution-Noncommercial-Share Alike(表示・非営利・継承) ライセンスで公開されています。
このライセンスは同一の許諾条件の下で原作者のクレジットを表示し、また作品を営利目的で利用しなければ、作品に対して複製、頒布、展示、実演、二次的著作物の作成が行えることを示します。
© 2007 Processing.org
© 2007 Processing.org

