Click here to Skip to main content
14,120,083 members
   

Delphi

 
QuestionDelphi to C# Pin
coert dorrepaal24-Apr-12 1:52
membercoert dorrepaal24-Apr-12 1:52 
AnswerRe: Delphi to C# Pin
Richard MacCutchan24-Apr-12 2:50
protectorRichard MacCutchan24-Apr-12 2:50 
AnswerRe: Delphi to C# Pin
smags1324-Apr-12 10:38
membersmags1324-Apr-12 10:38 
Questioncomunication Pin
harry88 20125-Apr-12 1:29
memberharry88 20125-Apr-12 1:29 
AnswerRe: comunication Pin
smags1311-Apr-12 12:06
membersmags1311-Apr-12 12:06 
Questiondeclaring math function Pin
Saeed_Ansari30-Mar-12 4:34
memberSaeed_Ansari30-Mar-12 4:34 
AnswerRe: declaring math function Pin
smags1330-Mar-12 12:47
membersmags1330-Mar-12 12:47 
AnswerRe: declaring math function Pin
Stuart Cox from Victoria31-Mar-12 10:04
memberStuart Cox from Victoria31-Mar-12 10:04 
Once upon a time the Timex Sinclair computer used an interpreted BASIC that would allow its user to type in a math function as a string and then have the string evaluated to give the answer to the function. Quite cool. The BASIC in the Commodore 64 lacked that feature.
Compiled languages, like Delphi's implementation of Object Pascal, quite often don't provide the ability to evaluate the values of strings as expressions nor give one a built in way to define functions/procedures at run time right out of the box.
But, libraries like this one: http://tpsystools.sourceforge.net will give you the ability to key in a function and evaluate it.
You'll want to use the TStExpression component and/or the TStExpressionEdit component. These are found on pages 316 and 327, respectively, in the SysTools.PDF manual, available with the library from SourceForge. There's a TON of other useful things in SysTools too.
Thanks TurboPower!
QuestionDelphi 2007 not compiling runtimes into exe Pin
JerryMallett6-Mar-12 22:34
memberJerryMallett6-Mar-12 22:34 
AnswerRe: Delphi 2007 not compiling runtimes into exe Pin
nortee8-Mar-12 0:48
membernortee8-Mar-12 0:48 
GeneralRe: Delphi 2007 not compiling runtimes into exe Pin
JerryMallett8-Mar-12 0:56
memberJerryMallett8-Mar-12 0:56 
GeneralRe: Delphi 2007 not compiling runtimes into exe Pin
smags138-Mar-12 14:17
membersmags138-Mar-12 14:17 
GeneralRe: Delphi 2007 not compiling runtimes into exe Pin
JerryMallett8-Mar-12 23:10
memberJerryMallett8-Mar-12 23:10 
GeneralRe: Delphi 2007 not compiling runtimes into exe Pin
smags139-Mar-12 10:30
membersmags139-Mar-12 10:30 
GeneralRe: Delphi 2007 not compiling runtimes into exe Pin
nortee9-Mar-12 11:34
membernortee9-Mar-12 11:34 
NewsDelphi online birthday party ?! Pin
smags137-Feb-12 7:54
membersmags137-Feb-12 7:54 
GeneralRe: Delphi online birthday party ?! Pin
nortee7-Feb-12 8:28
membernortee7-Feb-12 8:28 
GeneralRe: Delphi online birthday party ?! Pin
smags1329-Feb-12 8:39
membersmags1329-Feb-12 8:39 
QuestionCan TWebModule instance shutdown itself? Pin
Corinna John31-Jan-12 4:17
memberCorinna John31-Jan-12 4:17 
GeneralRe: Can TWebModule instance shutdown itself? Pin
smags1331-Jan-12 8:10
membersmags1331-Jan-12 8:10 
GeneralRe: Can TWebModule instance shutdown itself? Pin
Corinna John31-Jan-12 10:38
memberCorinna John31-Jan-12 10:38 
QuestionRe: Can TWebModule instance shutdown itself? Pin
nortee31-Jan-12 20:01
membernortee31-Jan-12 20:01 
AnswerRe: Can TWebModule instance shutdown itself? Pin
nortee1-Feb-12 7:40
membernortee1-Feb-12 7:40 
QuestionRe: Can TWebModule instance shutdown itself? Pin
nortee7-Feb-12 8:31
membernortee7-Feb-12 8:31 
AnswerRe: Can TWebModule instance shutdown itself? Pin
Corinna John8-Feb-12 3:40
memberCorinna John8-Feb-12 3:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Cookies | Terms of Service
Web03 | 2.8.190518.1 | Last Updated 25 Apr 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid