I'm going to say this upfront; the coding throwing this error probably shouldn't be throwing the aforementioned error, and it's concerning me that it is.
Here is the coding I use for my load game:
{(link-reveal: "Load a Saved Crawl")[
(set: _saves to (saved-games:))
(if: _saves's length < 1)[
You don't have any saved games.]\
(if: _saves's length > 0)[
(for: each _name, ...(datanames: _saves))[
<br>
(print:
"(link: 'Load Crawl: " + (_saves's (_name)) + "')[" +
"(load-game: '" + _name + "')" +
"]"
)
]
]
]}
For some reason, my attempts at checking for the _save's length (to make sure that there is a save file to be accessed) always throws this error:
I can't find a 'length' data name in a datamapâșI tried to access a value in a string/array/datamap, but I couldn't find it.
This is highly frustrating, because it results in both the "You don't have any saved games." error message and my saved game for 'Goethi', my test character.