This program was made to show how to evaluate an expression. The program supports ^,*,/,+,- and does order of operation. The main unit is about 270 lines.
File List:
EvalExample.cfg
323b
EvalExample.dof
1Kb
EvalExample.dpr
197b
EvalExample.res
2Kb
EvalExample.~dp
197b
EvalUnit.dcu
10Kb
EvalUnit.dfm
1Kb
EvalUnit.pas
11Kb
EvalUnit.~df
1Kb
EvalUnit.~pa
11Kb
Similar code
Formatting RichEdit with HTML tags
(Popularity: ) : For my second venture in Delphi I decided to convert another one of my Visual Basic uploads to Delphi. This one allows the user to use HTML style tags in a string to display the string in a RichEdit with ... Base Converter
(Popularity: ) : This program was made to show you how to convert number bases easily and efficiently. The program supports binary, octal, decimal, hex, and ascii(base 256). Please vote on my code. Random String Generator Example - Extra Options - Patterns
(Popularity: ) : A random string generator. It has some useful options and the user can enter the patterns the he chooses. It can be useful for sum things. ;) Oh, btw, the Screenshot had the XPMan component when it was taken, i ... Encryption Component
(Popularity: ) : TO get the script for this not in component form, check out my string encryption upload and please rate*** This is an encryption component, it is very simple to use and does the job. This component i currently use in ... Char Statistic / Count
(Popularity: ) : Just a sample how to calculate character in one text/paragraph. Usefull if you want to do a char count/statistic. Replace Char Function *UPDATED*
(Popularity: ) : You can easily replace characters with this function. I noticed delphi was missing one, so I wrote one myself. This is an updated version, and is less complex than the original. It also works even better. String Encryption, Decryption
(Popularity: ) : This shows how to Encrypt a string, and also how to then Decrypt that string, its a little incomplete as all characters(only symbols) arnt set, easy changable to any key you like!, rate what you think please! marty. Split function with an attitude
(Popularity: ) : Split a given string into TStrings with given delimiter character. Will also process Quoted string if need to (e.g.): 'this, is, a, "comma, separated, value", for, you' will be split into a stringlist with the following items: (0) this (1) ... Simulated Stack
(Popularity: ) : This code is just like my previous posting under VB. I just finished porting it to Delphi. It lets you manage a stack, like the computers memory heap. You can push and pop items. It is currently a unit file ... Text <=> Code
(Popularity: ) : I'm 100% sure you haven't seen a Text<=>Code converter program as good as this one since you started working with Computer! This program can transform a text to code and save the code as a *.bmp type picture, and even ...