Engine:CCMD varedit: Difference between revisions

 
(One intermediate revision by the same user not shown)
Line 25: Line 25:
Unknown: bob
Unknown: bob
</kua>
</kua>
Name 'bob' not found. 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