clipspy-1.0.0/clips/routers.py
def write_router(self, router_name: str, *args):
        """Send the given arguments to the given Router for writing."""
        for arg in args:
            if type(arg) == str:
                lib.WriteString(self._env, router_name.encode(), arg.encode())
            else:
                value = clips.values.clips_value(self._env, arg)
                lib.WriteCLIPSValue(self._env, router_name.encode(), value)
Send the given arguments to the given Router for writing.
Send the given arguments to the given Router for writing.
Send the given arguments to the given Router for writing .
def write_router(self, router_name: str, *args):
        for arg in args:
            if type(arg) == str:
                lib.WriteString(self._env, router_name.encode(), arg.encode())
            else:
                value = clips.values.clips_value(self._env, arg)
                lib.WriteCLIPSValue(self._env, router_name.encode(), value)
def write_router ( self , router_name : str , * args ) : for arg in args : if type ( arg ) == str : lib . WriteString ( self . _env , router_name . encode ( ) , arg . encode ( ) ) else : value = clips . values . clips_value ( self . _env , arg ) lib . WriteCLIPSValue ( self . _env , router_name . encode ( ) , value )
Send the given arguments to the given Router for writing.
Send the given arguments to the given Router for writing .
"""Send the given arguments to the given Router for writing."""
self
router_name
str