Hello
I'm trying to understand the state mechanism. I'm beginning to get a clue so I thought I'd write it down before I forgot.
In the "tabs" example there is the following code:
```
<<tabs "SampleTabOne SampleTabTwo SampleTabThree SampleTabFour" "SampleTabOne" "$:/state/tab1">>
```
I made a tiddler called StateWatcher with the following code
```
<$list filter="[prefix[$:/state/tab1]]">
Content of <<currentTiddler>> =
<$transclude tiddler = <<currentTiddler>>
/>
</$list>
```
The first time I load the tiddler
containing the tabs the StateWatcher shows nothing. When I click on a tab the stateWatcher says there is a tiddler called
`$:/state/tab1-2537135` and this
tiddler contains the name of the tab I just clicked on.
If I close the window containing the tabs the state tiddler is not destroyed. But it's not written to disk - so the state change is transient.
This thing with a name like ($:/state/tab1-2889173) seems to be what the documentation calls a `state tiddler` I'd have called it a `Global Variable whose value is wiki text`
I'm not sure how to create a state tiddler - so some more experimentation is in order.
Cheers
/Joe