Print[expr]
expr を出力として表示する.
例題
すべて開く すべて閉じる例 (2)
スコープ (8)
Print[Graphics[Circle[]]]Print[Graphics3D[Sphere[]]]Print[Column[{x, aaa, z}]]Printは通常StandardFormで出力するので,文字列には引用符は付かない:
Print["this is a string"]InputFormで出力する:
Print[InputForm["this is a string"]]TraditionalFormで出力する:
Print[TraditionalForm[Integrate[1 / (x ^ 3 - 1), x]]]Print[Style[aaa, 18, Red]]Print[Slider[]];Print[InputField[]]Print[PasteButton["xyz"]]Print[x ^ 2, "=", 12434]アプリケーション (2)
テクニカルノート
-
▪
- 反復処理 ▪
- 構造化されていない式の出力
関連するガイド
-
▪
- プログラム中の基本的な入出力 ▪
- 手続き型プログラミング ▪
- ノートブックドキュメントの生成 ▪
- WSTPのパケット ▪
- パレット ▪
- クリップボードの操作
関連するワークフロー
- 変数の中間値を表示する
履歴
1988 で導入 (1.0) | 1996 で更新 (3.0) ▪ 2007 (6.0)
テキスト
Wolfram Research (1988), Print, Wolfram言語関数, https://reference.wolfram.com/language/ref/Print.html (2007年に更新).
CMS
Wolfram Language. 1988. "Print." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2007. https://reference.wolfram.com/language/ref/Print.html.
APA
Wolfram Language. (1988). Print. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Print.html
BibTeX
@misc{reference.wolfram_2026_print, author="Wolfram Research", title="{Print}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/Print.html}", note=[Accessed: 02-November-2026]}
BibLaTeX
@online{reference.wolfram_2026_print, organization={Wolfram Research}, title={Print}, year={2007}, url={https://reference.wolfram.com/language/ref/Print.html}, note=[Accessed: 02-November-2026]}