Ah, that's what the context object is for. You create a class with methods that will be used by the rbScript environment.

--
Aaron Bratcher
On-Target Reports, Inc.
http://www.ontargetreports.com


On Jun 10, 2006, at 3:29 PM, Benjamin Brooking wrote:

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.

_______________________________________________
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>

Reply via email to