Working area of operand message. In bop, 3 WorkSpace areas have been provided. Each one is set to "primary message" Reply=true and "secondary message" Reply=false, so it is possible to handle a total of 6 messages. However, it is basically set up to be able to process just using WorkSpace 0.
0 | false | Send/receive message. |
0 | true | Reply to received message. |
1 | false | Sent messages. |
1 | true | Can be set as desired. |
2 | false | Can be set as desired. |
2 | true | Can be set as desired. |
When a message is received and communicated about via Received Event, the received message is stored in WorkSpace=0 Reply=false. Please note that even if the received message is a secondary message, it will be stored in Reply=false. The moment there is notification of an event, WorkSpace=0 Reply=false is selected, but when processing returns from the event handler to bop, it will return to the previously selected WorkSpace and Reply.
For primary messages, the "recommended reply" is alsostored in Reply=true. If replying in this status, it is OK just to switch Reply to true and call Send Method, but it is also possible to edit the contents.
When sending a primary message, use WorkSpace=0 Reply=false. When sending is complete, this will be communicated by a Sent Event, and at that time, WorkSpace=1 Reply=false will be selected.
Syntax
|
short GetWorkSpace();
void SetWorkSpace(short sNewValue);
|
Return Value
Example
Remarks
See Also
Reply Property
Send Method
Received Event
|