Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Delphi µÄÔËËã·ûÁбí


·ÖÀà
ÔËËã·û
²Ù×÷
²Ù×÷Êý
½á¹ûÀàÐÍ
·¶Àý
ËãÊõÔËËã·û
+
¼Ó
ÕûÊý£¬ÊµÊý
ÕûÊý£¬ÊµÊý
X + Y
-
¼õ
ÕûÊý£¬ÊµÊý
ÕûÊý£¬ÊµÊý
Result - 1
*
³Ë
ÕûÊý£¬ÊµÊý
ÕûÊý£¬ÊµÊý
P * InterestRate
/
ʵÊý³ý
ÕûÊý£¬ÊµÊý
ʵÊý
X / 2
div
ÕûÊý³ý
ÕûÊý
ÕûÊý
Total div UnitSize
mod
È¡Ä£
ÕûÊý
ÕûÊý
Y mod 6
+(Ò»Ôª)
·ûºÅµÈͬ
ÕûÊý£¬ÊµÊý
ÕûÊý£¬ÊµÊý
+7
-(Ò»Ôª)
·ûºÅÏà·´
ÕûÊý£¬ÊµÊý
ÕûÊý£¬ÊµÊý
-X
²¼¶ûÔËËã·û
not
·ñ¶¨
²¼¶ûÐÍ
Boolean
not (C in MySet)
and
Óë
²¼¶ûÐÍ
Boolean
Done and (Total > 0)
or
»ò
²¼¶ûÐÍ
Boolean
A or B
xor
Òì»ò
²¼¶ûÐÍ
Boolean
A xor B
Âß¼­(°´Î»)ÔËËã·û
not
°´Î»·ñ¶¨
ÕûÊý
ÕûÊý
not X
and
°´Î»Óë
ÕûÊý
ÕûÊý
X and Y
or
°´Î»»ò
ÕûÊý
ÕûÊý
X or Y
xor
°´Î»Òì»ò
ÕûÊý
ÕûÊý
X xor Y
shl
°´Î»×óÒÆ
ÕûÊý
ÕûÊý
X shl 2
shr
°´Î»ÓÒÒÆ
ÕûÊý
ÕûÊý
Y shr I
×Ö·û´®ÔËËã·û
+
Á¬½Ó
×Ö·û´®¡¢Ñ¹Ëõ´®¡¢×Ö·û
×Ö·û´®
S + '.'
Ö¸ÕëÔËËã·û
+
Ö¸Õë¼Ó
×Ö·ûÖ¸Õ룬ÕûÊý
×Ö·ûÖ¸Õë
P + I
-
Ö¸Õë¼õ
×Ö·ûÖ¸Õ룬ÕûÊý
×Ö·ûÖ¸Õ룬ÕûÊý
P - Q
^
Ö¸Õë½â³ý²ÎÕÕ
Ö¸Õë
Ö¸ÕëµÄ»ùÀàÐÍ
P^
=
ÏàµÈ
Ö¸Õë
Boolean
P = Q
<>
²»µÈ
Ö¸Õë
Boolean
P <> Q
¼¯ºÏÔËËã·û
+
²¢¼¯
¼¯ºÏ
¼¯ºÏ
Set1 + Set2
-
²î¼¯
¼¯ºÏ
¼¯ºÏ
S – T
*
½»¼¯
¼¯ºÏ
¼¯ºÏ
S * T
<=
×Ó¼¯
¼¯ºÏ
Boolean
Q <= MySet
>=
³¬¼¯
¼¯ºÏ
Boolean
S1 >= S2
=
ÏàµÈ
¼¯ºÏ
Boolean
S2 = MySet
<>
²»µÈ
¼¯ºÏ
Boolean
MySet <> S1
in
³ÉÔ±
ÐòÊý£¬¼¯ºÏ
Boolean
A in Set1
¹ØϵÔËËã·û
=
ÏàµÈ
¼òµ¥ÀàÐÍ¡¢Àà¡¢ÀàÒýÓᢽӿڡ¢´®¡¢Ñ¹Ëõ´®
Boolean
I = Max
<>
²»µÈ
¼òµ¥ÀàÐÍ¡¢Àà¡¢ÀàÒýÓᢽӿڡ¢´®¡¢Ñ¹Ëõ´®
Boolean
X <> Y
<
СÓÚ
¼òµ¥ÀàÐÍ¡¢´®¡¢Ñ¹Ëõ´®¡¢PChar
Boolean
X < Y
>
´óÓÚ
¼òµ¥ÀàÐÍ¡¢´®¡¢Ñ¹Ëõ´®¡¢PChar
Boolean
Len > 0
<=
СÓÚ»òµÈÓÚ
¼òµ¥ÀàÐÍ¡¢´®¡¢Ñ¹Ëõ´®¡¢PChar
Boolean
Cnt <= 1
>=
´óÓÚ»òµÈÓÚ
¼òµ¥ÀàÐÍ¡¢´®¡¢Ñ¹Ëõ´®¡¢PChar
Boolean
I >= 1
ÀàÔËËã·û
as
ת»»
ÀàºÍÀàµÄʵÀý
is
ÅжÏ
=
¹ØϵÔËËã·û = ºÍ <> Ò²×÷ÓÃÓÚÀà
<>
µØÖ·(@)ÔËËã·û
@X
Èç¹ûXÊÇÒ»¸ö±äÁ¿£¬ÄÇô@X·µ»ØXµÄµØÖ·¡£
µ±±àÒëָʾ {$T-} ÓÐЧʱ£¬@


Ïà¹ØÎĵµ£º

delphiÖÐmoveº¯ÊýµÄÓ÷¨

ÎÒÃÇÄÜ¿´µ½ÒÔÏ´úÂë
var pSource,pDest:PChar;
     len: integer;
.......................//һЩ´úÂë
Move(pSource,pDest,len); //´íÎó
Move(pSource^,pDest^,len); //ÕýÈ·
¿´ÆðÀ´È·ÊµºÃÏñÊÇ´«Öµ£¬¶ø²»ÊÇ´«µØÖ·£¬µ«ÊǸ÷λ±ðÍüÁË£¬Õâ²»ÊÇC£¬C++£¬¶øÊÇDelphi
Object Pascal,ËùÒÔ£¬¾ø²»ÄÜ´Óº¯Êýµ ......

Delphi¿½±´Ä¿Â¼(º¬×ÓĿ¼)µÄ·½·¨


 
Delphi¿½±´Ä¿Â¼(º¬×ÓĿ¼)µÄ·½·¨
ҪʵÏÖĿ¼¼¶µÄ¿½±´£¬¿ÉÒÔÀûÓÃWindows APIº¯ÊýShFileOperation( )£¬Æ亯ÊýÉùÃ÷ÈçÏ£º
WINSHELLAPI int WINAPI SHFileOperation(
    LPSHFILEOPSTRUCT lpFileOp
);
ʵÀý£º
н¨Ò»¸ö¹¤³Ì£¬Æä³ÌÐòʾÀýÈçÏ£º
unit Unit1;
interface
uses
Windows, Messag ......

DelphiÖж¯Ì¬Á´½Ó¿â(DLL)µÄ½¨Á¢ºÍʹÓÃ

¶¯Ì¬Á´½Ó¿âÊÇÒ»¸öÄܹ»±»Ó¦ÓóÌÐòºÍÆäËüµÄDLLµ÷ÓõĹý³ÌºÍº¯ÊýµÄ¼¯ºÏÌå,ËüÀïÃæ°üº¬µÄÊǹ«¹²´úÂë»ò×ÊÔ´¡£ÓÉÓÚDLL´úÂëʹÓÃÁËÄÚ´æ¹²Ïí¼¼Êõ,ÔÚijЩµØ·½windowsÒ²¸øÁËDLLһЩ¸ü¸ßµÄȨÏÞ,Òò¶øDLLÖпÉÒÔʵÏÖһЩһ°ã³ÌÐòËù²»ÄÜʵÏֵŦÄÜ,ÈçʵÏÖwindowsµÄHOOK¡¢ISAPIµÈ¡£Í¬Ê±,DLL»¹Îª²»Í¬ÓïÑÔ¼ä´úÂë¹²ÏíÌṩÁËÒ»Ìõ·½±ãµÄ;¾¶¡£Òò¶øD ......

ÓÃdelphiÖÆ×÷OCX¿âÎļþ£¨Ò»£©

¿ª·¢²½Ö裺
1¡¢´´½¨ActiveX Library¹¤³Ì¡£
2¡¢´´½¨COM Object¡£
3¡¢´´½¨Type Library£¬²¢´´½¨ÏàÓ¦½Ó¿Ú¡£
4¡¢´´½¨½Ó¿Ú¶ÔÓ¦µÄº¯ÊýºÍʵÏÖ¡£
¾ßÌåÈçÏ£º
1¡¢´´½¨ActiveX Library¹¤³Ì¡£
new|other|activeX|activeX library
Delphi»á×Ô¶¯Éú³É¿ò¼Ü´úÂ룬ֱ½Ó±àÒëµÄ»°¾Í¿ÉÒԵõ½Ò»¸ödllÎļþÁË£»
Èç¹ûÏë±àÒë³öÀ´µÄÊÇocxÎÄ ......

delphiÖÐSynchronize

delphiÖÐSynchronizeÕâ¸ö¶«¶«ÓÐʲôÓã¿ÎÒÖªµÀÊÇÏß³Ìͬ²½Ê¹ÓõÄ
ÊÇ·ñÊÇÒ»¸öº¯Êý»ò±äÁ¿£¬µ±Ò»¸öÏß³ÌÔÚʹÓÃʱ£¬Èç¹ûÕâ¸öº¯ÊýʹÓÃÁËSynchronizeÐÞîߵĻ°¾Í²»ÔÊÐí±ðÒ»¸öÏß³ÌÀ´µ÷ÓÃÕâ¸öº¯Êý
1Â¥£º±ðµÄÏ̻߳áµÈ´ý¸Ã²Ù×÷Íê³Éºó²ÅÄܼÌÐø
2Â¥£ºÄã˵µÄ»ù±¾ÊÇÕâ¸öÒâ˼¡£ËüµÄÄ¿µÄÊDZÜÃâ¶à¸ö×ÓÏß³Ìͬʱ·ÃÎÊÖ÷Ïß³Ì×ÊÔ´¡£
ʾÀý£º
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ