CellID

CellID

is an option for Cell that specifies a unique ID number for a cell.

Details

  • Typically, a CellID will be created automatically by the system for each new cell inserted in a notebook that has the setting CreateCellID->True.
  • When CellID is managed by the Wolfram System, its value is guaranteed to be unique in a given notebook. It is possible for a CellID to be set by hand, but its uniqueness will no longer be guaranteed.

Examples

Basic Examples  (1)

Set the default options for the notebook to create cell IDs for new cells, then write a cell:

Reading the cell shows a CellID option has been added by the front end:

Wolfram Research (2007), CellID, Wolfram Language function, https://reference.wolfram.com/language/ref/CellID.html.

Text

Wolfram Research (2007), CellID, Wolfram Language function, 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_2022_cellid, author="Wolfram Research", title="{CellID}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/CellID.html}", note=[Accessed: 06-July-2022 ]}

BibLaTeX

@online{reference.wolfram_2022_cellid, organization={Wolfram Research}, title={CellID}, year={2007}, url={https://reference.wolfram.com/language/ref/CellID.html}, note=[Accessed: 06-July-2022 ]}