gettingstarted
[Top] [All Lists]

Re: RBScript help

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: RBScript help
From: Mars Saxman <mars at realsoftware dot com>
Date: Sun, 23 Nov 2003 19:07:52 -0800
danweber at gwu dot edu wrote:

> I'm using Realbasic 5.2.2 and I added an RBScript to my
> project. I'm trying to assign a source to the RBScript and then
> run it. My code looks like this:
> 
> rbscript.source="MsgBox "+chr(34)+"Hello"+chr(34)
> rbscript.run
> 
> What is wrong with that?

RbScript does not have a MsgBox command. Try using Print instead - then put
the MsgBox call inside the RbScript object's Print event.

Mars Saxman
REAL Software


 - - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>