A function that takes a string and returns the number of words in the string. An example of using pointers in Pascal.
(Read More) ShowDriveSerialNo shows it with ShowMessage GetDriveSerialNo returns a string. You don't need both.
(Read More) This small program shows that how we can arrange
strings by alphabet in a vector.By FlamingClaw
(Read More) Note that the angle is in 1/10 of degrees. Any attempt to manipulate font.size or font.color will reset the angle to zero degrees.
(Read More) Procedure which checks the number of eating properly entered in
edit box with a comma
(Read More) A simple function that converts alphabetic values into their respective lowercase value.
(Read More) Our text file contains 10 words,and located in C:\ drive,we will read this data into an array and write out the results to the screen
Created by FlamingClaw 2009.04.26.
(Read More) I want to show a simple example about writing record to a file,and for checking,read back from that file.
Created By FlamingClaw
(Read More) This algorithm will add the searched element's place in an array
This works only when there is so element what we're searching for.
By FlamingClaw
(Read More) This algorithm will decide that is there a serched element
in the array.If it finds one then the loop halts.If the loop
halts cause we're stepping over the last element of the array then
there is not searched element.
By FlamingClaw
(Read More) Counts that how many propertied elements are in the array
example:negative numbers
By FlamingClaw
(Read More) The Rule:
s:=0;
Loop i:=1 To N
s:=s+T;
End of Loop;
Out:s;
By FlamingClaw
(Read More) Prime or not?This little program will show prime numbers with green color from 0 to 100.By FlamingClaw;
(Read More) This example is demonstrates a solution for direct arranging
By FlamingClaw
(Read More) I want to show you some rules about bit operating like Not,And,Or,Xor,Shl,Shr...
By FlamingClaw
(Read More) This is just a simple password program...
(Read More) I've seen,there are guys that did not know,where to use a unit...
See it just reference
By FlamingClaw
(Read More) This little program a solution for putting a string into an array.
The method is that the string is divided for chars....
By FlamingClaw
(Read More) This little calculator can +,-,/,*.Very simple,by FlamingClaw
(Read More) We change the order of elements of a vektor
Created by FlamingClaw
(Read More) The arguments are passed by value and by reference
(Read More) Often there is a case when we want to fill an array with record,and this program will demonstrate it...
(Read More) Many people says 'Don't use the GoTo statement,because your code will be unreadable....'.I say,can be use
(Read More) see this simple example...very nice,and easy
(Read More) Based on http://astronomy.swin.edu.au/~pbourke/geometry/insidepoly/
Converted to Delphi by Lord Soth
(Read More) This snippet shows how to open, read, write and close text files. This skeleton can be modified to handle any type of file, from untyped to text to typed files.
(Read More) This is Similar to the Previous Snippet, but it puts indivdual pixels of different colors randomly on the screen. Also makes a nice screensaver!
(Read More) Simple code for matrix with pascal.
--Jery--
(Read More) A simple guessing game for amatuer programmers like myself.
(Read More) The function Delay() allows access to other events during the delay. For instance a certain key could be used to interrupt a lenghty delay. The Win32 API function Sleep() ignores events, maybe it should be called DeepSleep().
(Read More) This is Delphi code, just testing if there is some interest.
(Read More) --- Basic Datatypes ---
--- Form Management ---
--- Data Access ---
--- Component model ---
(Read More) You can use any of the commented constants to perform the explained function. You might need to adjust the process privilege on NT based OSes.
(Read More) Assumes the presence of Memo1 on Form1.
(Read More) In case there are mote than one NIC (Network Interface Card) the coe gives the MAC of the first adapter. You can change the 0 on the line qoted below to take the MAC of other NICs if present.
"Result := GetAdapterInfo(AdapterList.lana) "
(Read More) This code disables font smoothing for a TLabel component. Can easily be converted for other VCL controls.
Loren Soth
(Read More)