previous page
Details
Kode wheel segment | Brains |
Style | Brain control |
Modifiers | channel / slot |
Primarily WHEN/DO | DO |
Pre-made brains that use it | Unknown |
Brains> previous page
Description
This tile is used to switch pages. Previous page will switch to the previous numerical page. So if you are on page 1 it will not switch,, page 2 to page 1 and so on. If the page you need to switch page to is moved from being previous page, the new previous page will be used. Can cause issues with call pages, add brains, channels and slots. Not recommended in complex systems, page names for switch pages are the most robust.
Can also be used with Channel and slot modifiers.
Tutorial on Channels and slots
Example Code
WHEN [interacted] DO [switch page][previous page]
Modifiers
channel: Paired with a number or text variable. This specifies which channel the brain that contains the previous page is in. Best used with a slot reference as well.
slot: Paired with a number or text variable. This specifies which slot the brain that contains the previous page is in. Best used with a channel reference as well.
Other Uses
This tile is also a number variable. If used with display it will give the number of the previous page of the current active page. Could be used for debugging.