1
2
3
4
function indexOfValue(list : TStrings; value : string): integer;
 begin
  Result := 0;
...

Delphi TStrings IndexOfValue

by DarkAxi0m, September 23, 2009 03:46, 2 refactorings, tagged with delphi, TStrings

this function finds the fir...

C99bb2b0dfcf7dba9aabf244a3330ac2 Talk
1
2
3
4
function getFirstElementTextByName(ElementName: string; const XMLDoc: IXMLDocument): string;
var
  NodeList: IDOMNodeList;
...

Delphi XML Helper Function

by jamiei, March 27, 2009 18:11, 2 refactorings, tagged with delphi, xmldocument

This is intended to be a he...

Ec72b0ab3eb1855c56fd04bcc886f65c Talk
1
2
3
4
	Function TfrmProc.ChangeValue( pData : WideString; KeyVar: String; pIncr : Integer ) : WideString;
	VAR     X : Byte;
		 _lPosIni, _lPosEqual,	_lPosSep : smallint;
...

Delphi Change Value Or Word in a W...

by jlouro.myopenid.com, February 20, 2009 12:44, 3 refactorings, tagged with delphi

It is something that we hav...

026393f9e622575870f6055d0f4853e3 Talk
1
2
3
function TMylist.GetNameIndex(aName: Sting): integer;
var
...

Delphi custom index for class(TList)

by DarkAxi0m, February 12, 2009 05:17, 2 refactorings, tagged with delphi, Tlist

I often find myself copying...

C99bb2b0dfcf7dba9aabf244a3330ac2 Talk
1
2
3
4
procedure CopyIntoArray(var DestArray: Array of Byte; SourceArray: Array of Byte; StartIndex: integer);
var
  i: integer;
...

Delphi Array Helper Functions

by jamiei, February 02, 2009 00:04, 3 refactorings, tagged with delphi, array, pointers

To get this Section started...

Ec72b0ab3eb1855c56fd04bcc886f65c Talk