Hello Robert,

> my client has expressed a wish that I could provide
> such a scripting language with the app I'm now working
> on that could allow for script writing and running,

> Any suggestions?  Which language has the widest range of abilities?

I am using JavaScript within my Delphi application.
My application is a data entry system which implement XML forms.
Forms are stored in a database, as well as script.
The script act much like Delphi events: the user has the ability to write a
script when a form is displayed on screen, when he clicks on the OK button,
when the focus enter or exit a field and so on.

Actually all that is easy to write using Windows Scripting Host
(http://msdn2.microsoft.com/en-us/library/ec0wcxh3.aspx). You have a
JavaScript (and many other script languages such as VBScript) engine you can
call from your Delphi application. You can write Delphi classes which expose
and implement objects and methods for the JavaScript engine.

Have a look here: http://blogs.codegear.com/abauer/2007/06/13/36013
And here: http://www.torry.net/samples/samples/soft/axscpd2.zip
Ryan VanIderstine  ryan at run insertdash time insertanotherdash systems dot
com helped me a lot writing my code.

Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be

_______________________________________________
Delphi mailing list -> Delphi@elists.org
http://www.elists.org/mailman/listinfo/delphi

Reply via email to