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该如何做呢?
最好能给出例子能达到这个效果的
begin
result:=nil;
if(addr<>0) then
begin
case getid(addr) of
1:
result := '张三';
2:
result := '李四';
3:
result := '王二';
4:
result := '赵五';
……
end;
end;
end;要返回widechar该如何做呢?
最好能给出例子能达到这个效果的
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货