realbasic-betas.mbox
[Top] [All Lists]

RBScript Context -- suite --

To: REALbasic Betas <realbasic-betas at lists dot realsoftware dot com>
Subject: RBScript Context -- suite --
From: Michel Scriban <m dot scriban at free dot fr>
Date: Sat, 27 Jul 2002 16:30:39 +0200
The series of messages following the previous confirm that the online-doc and ref manual must be adapted or completed...

As I tested now, it can be suggested that to manage "object properties" a workaround with methods in the "context" class can be used...


 It's incredibly useful -- it allows you to essentially extend the
 RBScript's language with new global methods and properties.

I totally agree, for our application MPScheduler, now with 4.5, "context" propertie provide a powerful way of communication between the RBScript script and the compiled app.

RBest regards


----------
Subject: Re: RBScript Context -- ??? --
From: "Mars Saxman" <mars at realsoftware dot com>
Date: Fri, 26 Jul 2002 08:18:04 -0700

m dot scriban at nelixa dot fr wrote:

 if the source is "print str(essai)" - RBscript work

 if the source is "print win.title -> RBscript error ??

This is correct. RbScript does not support object properties on the context
object. Only strings, integers, singles, doubles, booleans, and colors are
allowed.

Mars Saxman
REAL Software



Dr Michel SCRIBAN m.d.

   E-Mail: m dot scriban at nelixa dot com

   http://www.nelixa.com/
   ADC member select


o---------- Mail Address --------------o
 NelixA
 99, rue de Gerland, All. 6
 F 69007 Lyon
 France
 Tel +33 4 72 71 01 39
 Fax +33 4 72 71 03 40
 E-mail: contact at nelixa dot com
 E-mail: 100642 dot 3264 at compuserve dot com
o--------------------------------------o


<Prev in Thread] Current Thread [Next in Thread>
  • RBScript Context -- suite --, Michel Scriban <=