Tagging
![]()
This section deals with the tag and magazine structures. The tag is a structure that can store exactly one species, and can be read or written to at any time. The magazine is a queue that serves as a buffer for results. It only activates if a spell receives multiple results from effect glyphs (not relevant for simple spells).
A$() → Pops a species and passes it into the tag. It will remain in the tag until either the tag is written to again or the spell ends.
→ A$() Reads the tag and pushes a copy of the contained species. The original species remains in the tag.
→ result$() The magazine, as a queue, releases the results in the order they were received. This glyph removes the oldest result from the magazine and pushes it into the capsum.
→ list$() Takes all items in the magazine, and adds them to a list from oldest to newest. The list is then pushed onto the capsum.
→ number$() Pushes onto the capsum a number corresponding to the number of elements held in the magazine.