<?xml version="1.0" encoding="Shift_JIS" ?>

<Load option="exec"> xlconf/std/agent.xl </Load>

<Define Order="Applicative"> ^GetUserInfo
   ()
   <Arguments>^path ^agent ^ltype ^cmd </Arguments>
   <If> (= cmd "ip")
      <Then> 0 </Then>
      <Else><If> (= cmd "user")
         <Then> mori </Then>
	 <Else> abc </Else>
      </If></Else>
   </If>
</Define>


<Define> ^id
   <OpenInterpreter>
	connect
	<CurrentEnvironment/>
	<Port> ^ServerPort </Port>
	<HostName> localhost </HostName>
   </OpenInterpreter>
</Define>

^id

<SetMainInterpreter>
	<OpenInterpreter>
		stdio
		<CurrentEnvironment/>
		<MaxConnection> 123 </MaxConnection>
		<Result>1</Result>
	</OpenInterpreter>
</SetMainInterpreter>

