NextValue[inc]
returns the next value of the incremental inc.
NextValue
NextValue[inc]
returns the next value of the incremental inc.
Details
- NextValue can be used with IncrementalObject and IncrementalFunction to obtain values one at a time.
- When the incremental has no more values to return, NextValue will return a failure object.
Examples
Basic Examples (1)
obj = IncrementalObject["Identity"][{val[1], val[2]}]Return the first value from the incremental object:
NextValue[obj]NextValue[obj]When no more values are available, a failure object is returned:
NextValue[obj]See Also
Related Guides
History
Text
Wolfram Research (2026), NextValue, Wolfram Language function, https://reference.wolfram.com/language/ref/NextValue.html.
CMS
Wolfram Language. 2026. "NextValue." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/NextValue.html.
APA
Wolfram Language. (2026). NextValue. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NextValue.html
BibTeX
@misc{reference.wolfram_2026_nextvalue, author="Wolfram Research", title="{NextValue}", year="2026", howpublished="\url{https://reference.wolfram.com/language/ref/NextValue.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_nextvalue, organization={Wolfram Research}, title={NextValue}, year={2026}, url={https://reference.wolfram.com/language/ref/NextValue.html}, note=[Accessed: 12-June-2026]}