枚举类型
来源:互联网 发布:mac桌面文件夹丢失 编辑:程序博客网 时间:2024/05/22 20:15
type
TCountryCodes = (CHN, BRA, DEU, RUS);
function GetCountryName(const CountryCode: TCountryCodes): string;
const
CountryNames: array[TCountryCodes] of string = ('中国', '巴西', '德国', '俄罗斯');
begin
result := CountryNames[CountryCode];
end;
TCountryCodes = (CHN, BRA, DEU, RUS);
function GetCountryName(const CountryCode: TCountryCodes): string;
const
CountryNames: array[TCountryCodes] of string = ('中国', '巴西', '德国', '俄罗斯');
begin
result := CountryNames[CountryCode];
end;
- 枚举类型
- 枚举类型
- 枚举类型
- 枚举类型
- 枚举类型
- 枚举类型
- 枚举类型
- 枚举类型
- 枚举类型
- 枚举类型
- 枚举类型
- 枚举类型
- 枚举类型
- 枚举类型
- 枚举类型
- 枚举类型
- 枚举类型
- 枚举类型
- python中用xml.dom.minidom来解析xml文件
- Linux 下的oracle 操作命令
- 2012 08 May jQuery全面解剖系列(一)Deferred风格的Ajax
- 灰色预测代码
- gfp_mask含义
- 枚举类型
- MFC学习之 标题栏加载图标
- Ubuntu中Android开发环境配置
- MFC对话框(一)
- 初识HGE
- 关于CSS实战,选择器
- 优秀程序员和一般程序员差别在哪?
- 时间出来
- paip.lbmall 安装doc