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 <sjrdoera...@gmail.com> > 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.elmah...@gmail.com> 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.is, 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@mozart-oz.org > http://www.mozart-oz.org/mailman/listinfo/mozart-users >
_________________________________________________________________________________ mozart-users mailing list mozart-users@mozart-oz.org http://www.mozart-oz.org/mailman/listinfo/mozart-users