CellID
詳細
- 一般にCellIDは,CreateCellID->Trueと設定された新しいセルがノートブックに挿入されるたびに,システムによって自動的に作成される.
- CellIDがWolframシステムによって管理されている場合は,その値がノートブック内で一意的であることが保証される.CellIDを手動で設定することも可能である.しかし,その場合は一意性の保証はない.
例題
例 (1)
新規セルのIDを作るようにノートブックのオプションを設定し,セルを書く:
CurrentValue[EvaluationNotebook[], CreateCellID] = True;
NotebookWrite[EvaluationNotebook[], Cell["abc", "Output", CellTags -> {"unique"}]]セルを読むと,フロントエンドによってCellIDオプションが加えられたことが分かる:
NotebookRead[Cells[CellTags -> {"unique"}]]関連するガイド
テキスト
Wolfram Research (2007), CellID, Wolfram言語関数, https://reference.wolfram.com/language/ref/CellID.html.
CMS
Wolfram Language. 2007. "CellID." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CellID.html.
APA
Wolfram Language. (2007). CellID. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CellID.html
BibTeX
@misc{reference.wolfram_2026_cellid, author="Wolfram Research", title="{CellID}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/CellID.html}", note=[Accessed: 11-August-2026]}
BibLaTeX
@online{reference.wolfram_2026_cellid, organization={Wolfram Research}, title={CellID}, year={2007}, url={https://reference.wolfram.com/language/ref/CellID.html}, note=[Accessed: 11-August-2026]}