
|
Go to the first, previous, next, last section, table of contents.
- ox_rpc(number,
"func" ,arg0,...)
-
- ox_cmo_rpc(number,
"func" ,arg0,...)
-
- ox_execute_string(number,
"command" ,...)
-
:: プロセスの函数呼び出し
- return
-
0
- number
-
数 (プロセス識別子)
- func
-
函数名
- command
-
文字列
- arg0, arg1, ...
-
任意 (引数)
-
識別子 number のプロセスの函数を呼び出す.
-
函数の計算終了を待たず, 直ちに 0 を返す.
-
ox_rpc() は, サーバが `ox_asir' の場合のみ用いることができる.
それ以外の場合は, ox_cmo_rpc() を用いる.
-
函数が返す値は
ox_pop_local() , ox_pop_cmo() により取り出す.
-
サーバが `ox_asir' 以外のもの (例えば Kan サーバ `ox_sm1'など)
の場合には, Open_XM プロトコルでサポートされているデータのみを
送ることができる.
-
ox_execute_string は, 送った文字列 command をサーバが自らの
ユーザ言語パーザで解析し, 評価した結果をサーバのスタックに置くように
指示する.
[234] ox_cmo_rpc(0,"dp_ht",dp_ptod((x+y)^10,[x,y]));
0
[235] ox_pop_cmo(0);
(1)*<<10,0>>
[236] ox_execute_string(0,"12345 % 678;");
0
[237] ox_pop_cmo(0);
141
- 参照
-
section
ox_pop_cmo , ox_pop_local
Go to the first, previous, next, last section, table of contents.
|