mirror of
https://github.com/nasa/trick.git
synced 2024-12-24 15:26:41 +00:00
Correct Variable-Server documentation regarding the responce of var_exists. #1126
This commit is contained in:
parent
5c35cf2b1f
commit
1b7a2f6f37
@ -227,14 +227,14 @@ Disconnects the current client from the variable server.
|
|||||||
trick.var_exists( string var_name )
|
trick.var_exists( string var_name )
|
||||||
```
|
```
|
||||||
|
|
||||||
To test if a variable name exists. A special return message is sent to the client when
|
To test if a variable name exists. A special response is sent to the client when
|
||||||
this command is processed.
|
this command is processed.
|
||||||
|
|
||||||
The return message is in this format:
|
In **var_binary** mode, the (4 byte) message indicator of the response will be 1,
|
||||||
|
followed by a (1 byte) value of 0 or 1 to indicate the existence of the variable.
|
||||||
|
|
||||||
```
|
In **var_ascii** mode: the message indicator of the response will be "1" followed
|
||||||
1<1 byte binary 0 or 1>
|
by a tab, then an ASCII "0" or "1" to indicate the existence of the variable.
|
||||||
```
|
|
||||||
|
|
||||||
#### Changing the Return Value Cycle Rate
|
#### Changing the Return Value Cycle Rate
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user