Using this unit, you can convert String or a PChar to an unsigned DWORD or a signed Integer. The purpose of the code is to demonstrate the conversion's steps. The code has explanation and comments.
File List:
StrToInt and IntToStr/
0b
StrToInt and IntToStr/Project1.cfg
1Kb
StrToInt and IntToStr/Project1.dof
2Kb
StrToInt and IntToStr/Project1.dpr
188b
StrToInt and IntToStr/Project1.res
1Kb
StrToInt and IntToStr/Unit1.dcu
8Kb
StrToInt and IntToStr/Unit1.ddp
51b
StrToInt and IntToStr/Unit1.dfm
3Kb
StrToInt and IntToStr/Unit1.pas
9Kb
StrToInt and IntToStr/Unit1.~ddp
51b
StrToInt and IntToStr/Unit1.~dfm
3Kb
StrToInt and IntToStr/Unit1.~pas
9Kb
Similar code
The art of Delphi - Date to Word
(Popularity: ) : Convert Dates to 16 bit(Word) variables THash
(Popularity: ) : THash works like Perl's associative array, i.e., an array indexed by a Key of type string with an associated Value of type Pointer, which means Value is anything that will fit into a Pointer type -- you just need to ... TableCopyV2
(Popularity: ) : TableCopyv2.. so smart..nice to use..helpful. Have you ever copied Field names from a table "Fields Editor" to use it with 'FieldByName' command to put a data or edit a field value. This smart program tranforms copied text from a "Field ... JDStrings
(Popularity: ) : This are some useful string functions that I often use in my programs. It contains following functions: Function StrPaste (SourceString:string; SearchString:string; ReplaceString:string): string; { paste part of a string with another string } Function StrDel (SourceString:string; DeleteString:string): string; { delete ... Lite Registry 1.1
(Popularity: ) : Lite Registry 1.1 unit brings the power of the TRegistry class to your application by adding only 3 KBs to your EXEcutable files instead of 120 KB while using the TRegistry Class ! You can Read/Write DWORD or String, Delete ... TLanguageChanger
(Popularity: ) : This is a delphi component for handeling Windows Virtual Keyboard layouts. You can retrive list of existed layouts, change them and retrive information about each layout. Stringsplit Procedure
(Popularity: ) : It works as the Visual Basic Split function
Please Rate me . TableCopy
(Popularity: ) : So smart..nice to use..helpful.. Have you ever copied Field names from a table "Fields Editor" to use it with 'FieldByName' command to put a data or edit a field value. This smart program tranforms copied text from a "Field Editor" ... ShellNotifyIcon
(Popularity: ) : This component allows you to add animated icons to the Windows system tray. Use Popup Menu’s without writing a single line of code. Support for the following Mouse Events: OnDblClick, OnMouseDown and OnMouseUp.