| version 1.6, 2000/12/14 04:35:16 |
version 1.7, 2000/12/14 10:04:57 |
|
|
| /* $OpenXM: OpenXM/src/k097/lib/ox/ox.k,v 1.5 2000/12/12 13:58:21 takayama Exp $ */ |
/* $OpenXM: OpenXM/src/k097/lib/ox/ox.k,v 1.6 2000/12/14 04:35:16 takayama Exp $ */ |
| |
|
| /* Load_sm1(["ox.sm1",AddString([GetEnv("OpenXM_HOME"),"/lib/sm1/ox.sm1"])], |
/* Load_sm1(["ox.sm1",AddString([GetEnv("OpenXM_HOME"),"/lib/sm1/ox.sm1"])], |
| "ox.sm1.loaded"); */ |
"ox.sm1.loaded"); */ |
| Line 47 class OXchannel extends Object { |
|
| Line 47 class OXchannel extends Object { |
|
| return(r); |
return(r); |
| } |
} |
| |
|
| |
def popString() { |
| |
local cc,r; |
| |
cc = channel; |
| |
sm1(" cc oxpopstring /r set "); |
| |
return(r); |
| |
} |
| |
|
| |
|
| } |
} |
| |
|
| class OXcontrol extends Object { |
class OXcontrol extends Object { |
| Line 89 class OXcontrol extends Object { |
|
| Line 97 class OXcontrol extends Object { |
|
| def popCMO() { |
def popCMO() { |
| return(control.channel.popCMO()); |
return(control.channel.popCMO()); |
| } |
} |
| |
def popString() { |
| |
return(control.channel.popString()); |
| |
} |
| |
|
| } |
} |
| |
|
| Line 141 class OX extends OXcontrol { |
|
| Line 152 class OX extends OXcontrol { |
|
| def popCMO() { |
def popCMO() { |
| return(engine.channel.popCMO()); |
return(engine.channel.popCMO()); |
| } |
} |
| |
def popString() { |
| |
return(engine.channel.popString()); |
| |
} |
| |
|
| def rpc(func,ar) { |
def rpc(func,ar) { |
| local n,i,one,comm; |
local n,i,one,comm; |
| Line 174 class OX extends OXcontrol { |
|
| Line 188 class OX extends OXcontrol { |
|
| this.pushCMO("ox_ptod"); |
this.pushCMO("ox_ptod"); |
| this.pushCMD(SM_executeFunction); |
this.pushCMD(SM_executeFunction); |
| return(this.popCMO()); |
return(this.popCMO()); |
| |
} |
| |
|
| |
def executeString(s) { |
| |
this.pushCMO(s); |
| |
this.pushCMD(SM_executeStringByLocalParser); |
| } |
} |
| |
|
| } |
} |