[BACK]Return to math2ox.texi CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_math / documents

Diff for /OpenXM/src/ox_math/documents/math2ox.texi between version 1.1 and 1.2

version 1.1, 2000/03/08 06:59:37 version 1.2, 2000/03/11 09:17:42
Line 1 
Line 1 
 %% $OpenXM$  %% $OpenXM: OpenXM/src/ox_math/documents/math2ox.texi,v 1.1 2000/03/08 06:59:37 ohara Exp $
   
 \input texinfo  \input texinfo
 @iftex  @iftex
Line 55  and communicates with Mathematica by MathLink.
Line 55  and communicates with Mathematica by MathLink.
 @section @code{OxStart}  @section @code{OxStart}
 @findex OxStart  @findex OxStart
 @table @t  @table @t
 @item OxStart(@var{s})  @item OxStart[@var{s}]
 ::  Start the OX server @code{s}.  ::  Start the OX server @code{s}.
 @end table  @end table
   
Line 73  String
Line 73  String
   
 @example  @example
 In[1]:= Install["math2ox"]  In[1]:= Install["math2ox"]
 In[2] := Pid = OxStart["ox_sm1"]  In[2]:= pid = OxStart["ox_sm1"]
 @end example  @end example
   
 In this example, @code{ox_sm1} is started on the local machine.  In this example, @code{ox_sm1} is started on the local machine.
   
   @c  Description of OxSendMessage
   @menu
   * OxSendMessage::
   @end menu
   @node OxSendMessage,,, Mathematica Client Functions
   @section @code{OxSendMessage}
   @findex OxSendMessage
   @table @t
   @item OxSendMessage[@var{pid}, @var{s}]
   ::  SendMessage @code{s} to the OX server @code{pid}.
   @end table
   
   @table @var
   @item return
   Integer
   @item id
   Integer
   @item s
   String
   @end table
   
   @itemize @bullet
   @item  It starts the OX server @code{s}.
   @item Servers are looked for in the directory $OenXM_HOME/bin , hoge hoge.
   @end itemize
   
   @example
   In[4] := OxSendMessage[pid, "(CMO_LIST, (CMO_STRING, "hello world"), (CMO_ZERO))"]
   In[5] := OxSendMessage[pid, "(OX_COMMAND, (SM_popCMO))"]
   @end example
   
   In this example, an OX data message
   (OX_DATA, (CMO_LIST, (CMO_STRING, "hello world"), (CMO_ZERO))
   and an OX command message (OX_COMMAND, (SM_popCMO)) are sent to
   the OX server @code{pid}.
   
 @c  Put descriptions of a next function.  @c  Put descriptions of a next function.
   
   
   @node Starting OX servers on a remote machines,,, Top
   @chapter Starting OX servers on a remote machines
   
 @node Sample Programs,,, Top  @node Sample Programs,,, Top
 @chapter Sample Programs  @chapter Sample Programs

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>