version 1.4, 2000/01/24 02:48:24 |
version 1.6, 2000/02/02 02:03:41 |
Line 236 The server can avoid to send OX messages unknown to it |
|
Line 236 The server can avoid to send OX messages unknown to it |
|
*/ |
*/ |
@plugin/mathcap.h) |
@plugin/mathcap.h) |
|
|
|
Stack before the request: |
|
\begin{tabular}{|c|} \hline |
|
{\it Mathcap m} \\ |
|
\hline |
|
\end{tabular}\\ |
Request: |
Request: |
\begin{tabular}{|c|c|} \hline |
\begin{tabular}{|c|c|} \hline |
{\tt int32 OX\_DATA} & {\sl Mathcap} m \\ \hline |
{\tt int32 OX\_DATA} & {\sl Mathcap} m \\ \hline |
Line 348 It requests a server to pop an object from {\tt Operan |
|
Line 353 It requests a server to pop an object from {\tt Operan |
|
to convert it into a character string according to the output format |
to convert it into a character string according to the output format |
of the local system, and to send the character string via TCP/IP stream. |
of the local system, and to send the character string via TCP/IP stream. |
{\tt (char *)NULL} is returned when the stack is empty. |
{\tt (char *)NULL} is returned when the stack is empty. |
The returned strings is sent as a CMO string data. |
The returned string is sent as a CMO string data. |
{\tt CMO\_ERROR2} should be returned if an error has occurred. |
{\tt CMO\_ERROR2} should be returned if an error has occurred. |
*/ |
*/ |
|
|
Line 430 Stack after the request: |
|
Line 435 Stack after the request: |
|
\end{tabular} |
\end{tabular} |
|
|
Output: none. |
Output: none. |
|
|
|
\item |
|
\begin{verbatim} |
|
SM_pushCMOtag |
|
\end{verbatim} |
|
/*&jp |
|
スタックの先頭オブジェクトが CMO に変換された場合の CMO tag を |
|
{\tt CMO\_INT32} としてスタックへ push する. |
|
先頭オブジェクトはスタックに留まる. |
|
先頭オブジェクトをCMO へ変換する方法が無い場合は, エラー object を積む. |
|
*/ |
|
/*&eg |
|
It requests a server to push the CMO tag of the top object on the server |
|
stack. The tag is pushed as {\tt CMO\_INT32}. |
|
The top object remains on the stack. |
|
If there is no way to translate the object into CMO, |
|
push an error object. |
|
*/ |
|
|
|
Request: |
|
\begin{tabular}{|c|c|} \hline |
|
{\tt int32 OX\_COMMAND} & {\tt int32 SM\_pushCMOtag} \\ |
|
\hline |
|
\end{tabular} |
|
|
|
Stack after the request: |
|
\begin{tabular}{|c|c|c|} \hline |
|
{\tt int32 OX\_DATA} & {\sl CMO\_INT32} \ tag\\ |
|
\hline |
|
\end{tabular} |
|
|
|
Output: none. |
\end{enumerate} |
\end{enumerate} |
|
|
\medbreak |
\medbreak |
Line 472 In the above example, {\tt Ox\_system} denotes the sys |
|
Line 509 In the above example, {\tt Ox\_system} denotes the sys |
|
enviroment variable. |
enviroment variable. |
The second component consists of avaiable SM commands. |
The second component consists of avaiable SM commands. |
The third component is a list of pairs. Each pair consists |
The third component is a list of pairs. Each pair consists |
of an OX message tag and the available message tags. |
of an OX message tag and the list of available message tags. |
Again in the above example, 514 is the value of {\tt OX\_DATA} |
Again in the above example, 514 is the value of {\tt OX\_DATA} |
and it indicates that the server accepts CMO (without size information) |
and it indicates that the server accepts CMO (without size information) |
as mathematical data messages. In this case the subsequent |
as mathematical data messages. In this case the subsequent |
Line 563 operand stack より, {\it n} 個の元 ({\it obj1, obj2, $ |
|
Line 600 operand stack より, {\it n} 個の元 ({\it obj1, obj2, $ |
|
*/ |
*/ |
/*&eg |
/*&eg |
It requests a server to pop {\it n} and to discard elements {\it obj1, obj2, |
It requests a server to pop {\it n} and to discard elements {\it obj1, obj2, |
$\ldots$, objn}) from the stack. |
$\ldots$, objn} from the stack. |
*/ |
*/ |
|
|
//&jp Stack before the request: \\ |
//&jp Stack before the request: \\ |
Line 629 OutputObj} をスタックへ戻す. 関数自体は正常終了なら 0 |
|
Line 666 OutputObj} をスタックへ戻す. 関数自体は正常終了なら 0 |
|
It requests a server to pop {\it name} and to evaluate a variable |
It requests a server to pop {\it name} and to evaluate a variable |
{\it name} in the current name space. The Output of the evaluation |
{\it name} in the current name space. The Output of the evaluation |
{\it OutputObj} is pushed to the stack. |
{\it OutputObj} is pushed to the stack. |
If an error has occurred {\tt CMO\_ERROR2} is pushed to the stack. |
If an error has occurred {\tt CMO\_ERROR2} is pushed onto the stack. |
*/ |
*/ |
|
|
//&jp Stack before the request: |
//&jp Stack before the request: |