All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
用AjaxPro实现定时刷新效果_[AJAX教程]
Sql Server2005登录失败_[SQL Server教程]
手把手教你制作vs2005装饰_[Asp.Net教程]
采用XHTML和CSS设计可重用可换肤的WEB站点_[Html教程]
表示的特殊字符_JavaScript技术_编程技术
C#+低级Windows,API钩子拦截键盘输入_[Asp.Net教程]
ASP.NET中的File类和Directory类的相关知识_[Asp.Net教程]
APMServ图文教程_[PHP教程]
取得文件扩展名方法_[PHP教程]
利用XML实现通用WEB报表打印实际使用中的例子_[XML教程]
Reading number is top 10 pictures
Sora aoi on twitter1
Magnificent cloud2
9.3阅兵全景图8-航空梯队
不知名的美女素颜照1
30 beautiful school beauty2
Summer is most suitable for young people to travel in China7
在加油站厕所门口看到的告示
Azusa Yamamoto2
From China fortress sora aoi2
Discharge accidentally Actresses by the breast3
Download software ranking
美女写真2
Tram sex maniac 2 (H) rar bag9
Adobe Flash Player(IE) 10.0.32.18 浏览器专用的FLASH插件
变速齿轮3.26
WebService在.NET中的实战应用教学视频 → 第3集
传奇私服架设教程
小黑猫大战两米大花蛇
Unix video tutorial11
SQL2000 For 4IN1
The Bermuda triangle3
aaa published in(发表于) 2014/7/19 0:14:21 Edit(编辑)
[delphi语法9]delphi中with语句的使用实例

[delphi语法9]delphi中with语句的使用实例

[delphi语法9]delphi中with语句的使用实例|方法

with语句

使用记录类型的变量时,可以通过With 语句指定一些语句,这些都是针对某一个变量来说的,这样可以简化代码的输入量。With 语句的形式如下:

with object do statement

例如:

type

TEmployee=record

Name : string[20];

YearHired:2000..2010;

Salary: Double;

Position: string[20];

end;

var

Employee:TEmployee;

begin

with Employee do

begin

Name :=’Wang’;

YearHired :=2005;

Salary :=10000;

Position := ’ Technic Department’;

end;




添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.