[Turn off line numbering]1: arg what, @how; 2: var elem, sep; 3: 4: (> .perms(sender()) <); 5: sep = 'non_terminated in how ? `[] : `[13, 10]; 6: switch (type(what)) { 7: case 'string: 8: what = strings_to_buf([what], sep); 9: case 'list: 10: what = strings_to_buf(what, sep); 11: case 'buffer: 12: default: 13: throw(~type, "Write: strings, list of strings and buffers."); 14: } 15: cwrite(what);
// Created 22-Aug-1995 as a part of ColdCore, see: @help Credit