function TSafe.GetName(addr:WORD ):WideChar;
begin
  result:=nil;
  if(addr<>0) then
  begin
    case getid(addr) of
        1:
            result := '张三';
        2:
            result := '李四';
        3:
            result := '王二';
        4:
            result := '赵五';
        ……
    end;
  end;
end;要返回widechar该如何做呢?
最好能给出例子能达到这个效果的