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