49
edits
| Line 23: | Line 23: | ||
global | global | ||
</kua> | </kua> | ||
* Same as the first example, | * Same as the first example. But change to the known 'client' context, which is addressable from the 'global' context. | ||
<kua> | <kua> | ||
> | > context client | ||
</kua> | </kua> | ||
* | * Start the client service, and change the client 'bob' variable which exists only in the 'client' context. | ||
<kua> | <kua> | ||
> | > start | ||
> | Client is started. | ||
'bob' is ' | > bob 8081 | ||
> bob | |||
'bob' is '8081' | |||
> context | |||
client | |||
</kua> | |||
* Change back to the 'global' context. Test to see that the bob variable in 'client' is not in 'global'. | |||
<kua> | |||
> context global | |||
> context | |||
global | |||
> bob | |||
Unknown: bob | |||
</kua> | </kua> | ||
== Notes == | == Notes == | ||
* | * | ||