Navigation menu

Engine:CCMD varedit: Difference between revisions

Jump to navigation Jump to search
 
Line 26: Line 26:
</kua>
</kua>
No 'bob' in the context. Variable 'bob' doesn't exist, and 'bob' is not the name of anything else.
No 'bob' in the context. Variable 'bob' doesn't exist, and 'bob' is not the name of anything else.
<kua>
<kua>
> bob fred
> bob fred
Unknown: bob
Unknown: bob
</kua>
</kua>
Tries to set variable 'bob' to 'fred'. Fails as 'bob' does not exist.  
Tries to set variable 'bob' to 'fred'. Fails as 'bob' does not exist.
 
<kua>
<kua>
> set bob fred
> set bob fred
</kua>
</kua>
Uses the 'set' command to create the variable 'bob' and set value to 'fred'.  
Uses the 'set' command to create the variable 'bob' and set value to 'fred'.
 
<kua>
<kua>
> bob
> bob
'bob' is 'fred'
'bob' is 'fred'
</kua>
</kua>
Same as the first example, but now 'bob' exists.
Same as the first example, but now 'bob' exists.
 
<kua>
<kua>
> bob james
> bob james