Method code for $connection.write_string()

[Turn on line numbering]
arg string;

if (sender() != interface && sender() != (| class(interface) |))
    throw(~perm, sender() + " cannot write this connection.");
if (type(string) != 'string)
    throw(~type, "Argument must be a string.");
cwrite($buffer.from_string(string));

["// Created 21-Aug-1995 as a part of ColdCore, see: @help Credit"]

the Cold Dark