CloudSymbol

CloudSymbol["name"]

represents a symbol whose value is persistently stored in the cloud.

CloudSymbol[obj]

represents a persistent symbol corresponding to the cloud object obj.

CloudSymbol["uri"]

represents a cloud symbol located at a given URI.

Details

  • Values can be assigned using CloudSymbol[name]=val or CloudSymbol[name]:=val.
  • CloudSymbol[name] evaluates to give the value assigned for CloudSymbol[name].
  • Values of cloud symbols are stored in cloud objects.
  • CloudSymbol["name"] by default references a cloud object with the specified name within the directory $CloudSymbolBase.
  • CloudSymbol["name",base] references a cloud object relative to the specified base.
  • Cloud symbols can be shared between users if appropriate permissions are set on the underlying cloud objects.
  • In CloudSymbol["name"], "name" can be any string.
  • CloudSymbol[URL["loc"]] is also supported.

Examples

open allclose all

Basic Examples  (1)

Assign a value to a cloud symbol:

Retrieve the value:

Scope  (1)

Cloud symbols can be assigned delayed values:

Properties & Relations  (2)

Cloud symbols are stored in cloud objects, so they can be addressed using CloudObject and accessed using other cloud functions:

LocalSymbol provides for local persistent storage:

Possible Issues  (1)

Cloud symbols cannot be assigned subvalues or other special values:

Values of cloud symbols are not stored like other symbols:

Neat Examples  (1)

Use a cloud symbol to persist data between calls to API functions:

Wolfram Research (2014), CloudSymbol, Wolfram Language function, https://reference.wolfram.com/language/ref/CloudSymbol.html (updated 2016).

Text

Wolfram Research (2014), CloudSymbol, Wolfram Language function, https://reference.wolfram.com/language/ref/CloudSymbol.html (updated 2016).

BibTeX

@misc{reference.wolfram_2020_cloudsymbol, author="Wolfram Research", title="{CloudSymbol}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/CloudSymbol.html}", note=[Accessed: 28-February-2021 ]}

BibLaTeX

@online{reference.wolfram_2020_cloudsymbol, organization={Wolfram Research}, title={CloudSymbol}, year={2016}, url={https://reference.wolfram.com/language/ref/CloudSymbol.html}, note=[Accessed: 28-February-2021 ]}

CMS

Wolfram Language. 2014. "CloudSymbol." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2016. https://reference.wolfram.com/language/ref/CloudSymbol.html.

APA

Wolfram Language. (2014). CloudSymbol. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CloudSymbol.html