OPEN Message

Opens the dictionary.

Message syntax

OPEN<s>dictionaryName<s>readOnly<end>

where

Parameter Type Description
dictionaryName string The name of the dictionary.
readOnly boolean The access mode.
Value Description
0 read/write
1 read only
<s> = Char(127)
<end> = Char(0)

Reply syntax

resultCode<s>contextCode<end>

where

Parameter Type Description
resultCode integer
Value Description
OK The client was succesfully connected to the server.
READ_ONLY The dictionary was opened as read only. Some other client has a read/write access to the dictionary.
EXPIRED Dictionary Server evaluation has been expired.
NOT_ENOUGH_MEMORY Not enough memory to open the dictionary.
ACCESS_ERROR The user has not access for the dictionary.
ERROR An unspecified error.
contextCode integer The context code of the dictionary.

Example

The following message opens the test dictionary as read only.

-> OPEN<s>test<s>0<end>
<- 0<s>1<end>

where

<s> = Char(127)
<end> = Char(0)

See also

CLOSE