为什么要使用类模块 [英] why use a class module

查看:52
本文介绍了为什么要使用类模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有


你能告诉我为什么你要使用课堂模块吗?


谢谢


Nicolaas

---

如果(a)这封电子邮件,请立即告知我们(通过电话或回复邮件)

包含病毒

(b)您不是预定的收件人

(c)您认为此电子邮件是垃圾邮件。

我们我们尽最大努力确保

以上都不适用。谢谢

由AVG反病毒系统检查( http:// www .grisoft.com)

版本:6.0.690 /病毒库:451 - 发布日期:22/05/2004

Dear All

Can you tell me why you use a class module???

Thank you

Nicolaas
---
Please immediately let us know (by phone or return email) if (a) this email
contains a virus
(b) you are not the intended recipient
(c) you consider this email to be spam.
We have done our utmost to make sure that
none of the above are applicable. THANK YOU
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.690 / Virus Database: 451 - Release Date: 22/05/2004

推荐答案

WindAndWaves写道:
WindAndWaves wrote:
亲爱的所有

你能告诉我为什么你使用类模块???


如果你想创建自己的对象/类当然:)从来没有

因为我自己做...

谢谢

Nicolaas
Dear All

Can you tell me why you use a class module???
If you want to create your own objects/classes of course :) Never had
cause to do it myself...
Thank you

Nicolaas



-

问候,


布拉德利


--
regards,

Bradley


WindAndWaves写道:
WindAndWaves wrote:
你能告诉我为什么你要使用类模块???
Can you tell me why you use a class module???



我在以下时间使用课程:


1.课程中可能有多个实例正在运行。同时

时间,类的变量具有不同的值,

示例是一个记住
$ b $的属性或属性的类b在关闭时形成,并在重新打开时将表单返回到该状态;

2.有许多变量需要初始化以供程序使用

重复许多次,一个例子是编写数字的代码a

字;

3.需要在整个工作中标准化程序

多个开发人员,一个例子是保存记录。



I use a class when:

1. There may be multiple instances of the class "running" at the same
time, with the variables of the classes having distinct values, an
example being a class which remembers some properties or attributes of
forms as they close, and returns the form to that state upon reopening;
2. There are many variables to be initialized for use by a procedure
which is repeated many times, an example being code to write numbers a
words;
3. There is a need to standardize a procedure across the work of
multiple developers, an example being record saving.


谢谢大家的答案...


所以,我有一个评估日期是否在特定日期内的程序

范围。我在很多查询中使用这个程序,它运行得相当慢

(可能有5,000条记录)。如果我把它作为一个班级会更快吗?

模块????


" Lyle Fairfield" < LY *********** @ netscape.net>在消息中写道

news:2h ************ @ uni-berlin.de ...
Thank you all for your answers...

So, i have a procedure that evaluates if a date is within a certain date
range. I use this procedure in a lot of queries and it runs rather slow
(there may be 5,000 records). Would it be faster if I made it a class
module????


"Lyle Fairfield" <ly***********@netscape.net> wrote in message
news:2h************@uni-berlin.de...
WindAndWaves写道:
WindAndWaves wrote:
你能告诉我你为什么要使用课程模块吗?
Can you tell me why you use a class module???



我在下课时使用课程:

1.有可以是类运行的多个实例。在相同的时间,类的变量具有不同的值,
示例是一个类,它会在关闭时记住
表单的某些属性或属性,并将表单返回到重新开放时的状态;
2.有许多变量需要初始化以供程序使用
,这个变量重复多次,例如编写数字的代码
;
3.需要在多个开发人员的工作中标准化程序,例如记录保存。



I use a class when:

1. There may be multiple instances of the class "running" at the same
time, with the variables of the classes having distinct values, an
example being a class which remembers some properties or attributes of
forms as they close, and returns the form to that state upon reopening;
2. There are many variables to be initialized for use by a procedure
which is repeated many times, an example being code to write numbers a
words;
3. There is a need to standardize a procedure across the work of
multiple developers, an example being record saving.



---

如果(a)这封电子邮件

包含病毒,请立即告知我们(通过电话或回复邮件)

(b)您不是预定的收件人

(c)您认为此电子邮件是垃圾邮件。

我们已尽最大努力确保

以上都不适用。谢谢

由AVG反病毒系统检查( http:// www .grisoft.com)

版本:6.0.690 /病毒库:451 - 发布日期:22/05/2004


---
Please immediately let us know (by phone or return email) if (a) this email
contains a virus
(b) you are not the intended recipient
(c) you consider this email to be spam.
We have done our utmost to make sure that
none of the above are applicable. THANK YOU
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.690 / Virus Database: 451 - Release Date: 22/05/2004


这篇关于为什么要使用类模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆