Storage variable vs CustomName
I'm looking to persist data from a script.
What are the pros and cons of both for persisting data? Is there any difference at all?
From the docs it says that:
The Storage variable is unique in that that it store data as string between saved seasons and recompile.
That seems the same to me for storage purposes. Am I right in saying that CustomName is tied to any block and is visible to other blocks while Storage is private to its programmable block?
Best Answer
Storage is a variable only accessible by your script where as CustomName can be changed in the user interface. Both survive for the life time of the block but I would recommend using CustomName only for printing outputs to the heads up display.
Pictures about "Storage variable vs CustomName"



Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Rachel Claire, Andrey Matveev, Ryutaro Tsukata, ELEVATE
