Virtual String

Khadija EL MAHRSI khadija.elmahrsi at
Fri Mar 30 20:49:03 CEST 2012

After a number of tests, it became clear that the problem comes indeed from
the feature which is assigned by the other class. Even though I'm pretty
sure that this feature is correctly assigned and does contain a value, I'm
not sure why I can't display it on the screen. Any ideas about what could
be wrong?


2012/3/29 Khadija EL MAHRSI <khadija.elmahrsi at>

> Hi,
> I've been doing some more tests. The VirtualString works just fine on a
> virtual string that I assign myself but when I try to do the same thing on
> a class' feature, it doens't work.
> For example:
> Var=self.feat1#1 (Where feat is an feature of a given class)
> {texHandler set(text:{VirtualString.toString Var})
> works; however,
> {texHandler set(text:{VirtualString.toString self.feat2}) with
> self.feat2=self.feat1#1
> doesn't work
> Does the problem have anything to do with the fact that feat2 is assigned
> by another class?
> Thanks
> 2012/3/29 Sébastien Doeraene <sjrdoeraene at>
>> Hi,
>> Does this work correctly in the OPI?
>> {System.showInfo {VirtualString.toString 'hello '#"world"}}
>> If no: what's the behavior that you observe?
>> If yes: can you provide us with a small code snippet that does not work
>> on your machine, and the behavior that you observe?
>> Regards,
>> Sébastien
>> On Wed, Mar 28, 2012 at 19:17, Khadija EL MAHRSI <
>> khadija.elmahrsi at> wrote:
>>> Hi,
>>> I was working with virtual strings and tried to have the string
>>> displayed on the screen using {TextHandler set(text:VirtualStr)}; however,
>>> it didn't work.
>>> I also tried to convert the virtual string to a string but this seems to
>>> make things worse: I can't use anything related to VirtualString for some
>>> reason:, VirtualString.toString...
>>> Can someone tell me what's wrong? A normal string is displayed just
>>> fine; it is the virtual string that is the problem.
>>> Thanks
>> _________________________________________________________________________________
>> mozart-users mailing list
>> mozart-users at
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the mozart-users mailing list