I'm writing a script engine system consisting of a virtual machine (or finite state machine) component, a compiler(s) component and a "security" component (that is an anti-virus component to scan scripts). All of these components need to use functions and procedures from two (or more)...
Hi every1,
In case someone knows how to make a custom component add another unit to the component's parent form's uses clause, I'd be happy to know..
If it was possible, in the problem I wrote about in the above thread, to make STXScript add STXInternalTools to, say the Form1 uses clause, it...
What I do is that I use a function to convert a string into a mathematical representation, that is an integer. In that convert function each character that I want to influence the mathematical representation, has a certain number that's added to a temporary variable. That is, the function runs...
Anyone know how to fix this?
I'm writing a script engine component and I want it to use functions and procedures stored in an external unit called STXInternalTools. I have defined STXInternalTools in the script engine unit (STXScript) unit's uses clause, but functions residing in the...
Hi TealWren,
Thanks for your help - I think I might just achieve just what I need now. I'm still unsure wether I'm going to need more help from somewhere though, because I haven't finished the parent search function yet. I'm also correcting a set of commands and functions within my script...
By the way...one more thing:
All operands (or parameters, or variables, if you like) in my script engine are presented as ShortString to the engine.
When it comes to telling the script engine what kind of a control (eg. TEdit, TSpeedButton, TMemo) to create, this may be hard-coded by me, but if...
Hi TealWren, thanks for your reply.
As for what I meant by reading/writing to variables dynamically, I meant something like being able to perhaps call a function, say SetAnyProperty('Unit1','Edit1','Text','Hi World!') to read or write to a property, or a variable. I think I can work out the...
This problem probably seem dull to many, but in my case it's important to get through in one way or another - it has to do with obtaining an HWND pointer to a control in order to enable use of FindControl(Handle: HWND). To explain this, let's look at what I'm trying to do... I'm writing a script...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.