论坛


2008年10月15日 星期三

Value Capture vs. Variable Capture

Allen Bauer| The Oracle at Delphi |18:14:16

Anonymous methods (aka. Closures) capture the variables from the outer scope that are referenced within the body of the method itself. This is the intended behavior as it serves to extend the lifetime of the variable to match that of the anonymous...

BCS Delphi 2009 Code Generator

CodeGear| CodeGear-CodeCentral Delphi |17:43:42

The Brooks Computing Systems Delphi 2009 Code Generator provides all the necessary communications to generate source code for Delphi 2009 windows personality applications. From a simple dialog the end user produces the source code for non data win...

delphi : 取得网页源码内容

幸福苹果| 幸福苹果-delphi |17:24:00

取得网页的源码内容的函数以及调用方法供大家参考:program geturl;useswininet,windows;//取网页内容function StrPas(const Str: PChar): string;beginResult := Str;end;function GetWebPage(const Url: string):string;varSession,HttpFile:HINTERNET;szSizeBuffer...

delphi : 中英文分词

幸福苹果| 幸福苹果-delphi |14:28:00

procedure TForm1.Button1Click(Sender: TObject);vars: pchar;       //要分词的句子sl: tstrings;   //分词之后保存的字符串列表i:integer;      //遍历字符串列表所有行beginEdit1.Text:='?..

Random Thoughts on the Passing Scene #88

Nick Hodges| Nick Hodges |08:20:10

CodeRage is back! I assume that most of  you read this blog because you are interested in Delphi Programming.  And thus I am doing my part to make sure that Delphi programming gets the recognition it deserves — maybe even "Lan...