[DUG] exectuteString command?

Stephen Barker Steve at webdata.co.nz
Wed Jul 26 21:49:14 NZST 2006


Hi Paul,
 
You are probably better off with some of the other scripting suggestions,
but your post reminded me of a unit I often use in my apps to parse and
execute mathematical expressions. It supports all common trig functions, and
math operators. I can't just post it here as I notice it still bears a
copyright Borland 1985 at the top of the unit!
 
It originally came as part of one of the Borland Turbo Pascal Toolbox
add-ons - the sample spreadsheet I think.
 
It's been very handy over the years especially in converting some of my old
Clipper and dBase apps which commonly used such powerful things as Macros
and CodeBlocks which could be stored as data, then retreived and executed at
runtime.
 
regards,
Steve
 
I remember when.... don't get me started.


  _____  

From: Paul A Norman [mailto:paul.a.norman at gmail.com] 
Sent: Wednesday, 26 July 2006 11:25 a.m.
To: NZ Borland Developers Group - Delphi List
Subject: [DUG] exectuteString command?


Dear all,
 
With the recent enhancements to Delphi, has TurboPascal introduced any sort
of exectuteString command as in some dialects of Basic?
 
I.e. a string is parsed and then if the interpreted string is validly
executable it is directly carried out as if it was part of the original exe.
 
In the days when we used to have to do things like program C64 and C128s for
accounts/ invoices and wages, it was a very useful facility found in
SuperBase.
 
Paul
 
 


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 24/07/2006




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20060726/6506e1af/attachment.html


More information about the Delphi mailing list