Sorry, what I meant was can I produce additional commands by adding events, to pick a random example: add a WriteToFile(name as string, contents as string) command by creating an event definition WriteToFile(name as string, contents as string) in the RBScript subclass (I know I could do this using another class assigned to context property, but I wanted to reserve that for something else).
Thanks, Ben. On 10/06/06, Aaron Bratcher <[EMAIL PROTECTED]> wrote:
Yes, subclasses of RBScript also have the print and input events. -- Aaron Bratcher On-Target Reports, Inc. http://www.ontargetreports.com On Jun 10, 2006, at 8:08 AM, Benjamin Brooking wrote: > I've just started to look at using RBScripting to add a sort of > plug-in functionality and it seems a very powerful feature. > I notice that corresponding to the Print() and Input() RBScript > commands are the events Print and Input in the RBScript class. > > Is it possible to similarly add event definitions to a sub-class of > RBScript and call them from the script? (I'm trying to add > functionality without using up my context object). _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
