[gtkada] Locale

Preben Randhol randhol at pvv.org
Mon Sep 25 15:00:17 CEST 2000


Arnaud Charlet <charlet at ACT-Europe.FR> wrote on 25/09/2000 (14:50) :
> Note that this has nothing to do with GtkAda, this is an Ada question related
> to precedence of operators. Hint: use parentheses ;-)

OK, but why is Gate producing this code:

   Gtk_New (Window1.Label3, -("Some text"));

and not 
   
   Gtk_New (Window1.Label3, (-"Some text"));

as 

   Gtk_New (Window1.Label3, "Fixed" & (-"Some text"));

works, but not:
   
   Gtk_New (Window1.Label3, "Fixed" & -("Some text"));


-- 
Preben Randhol - Ph.D student - http://www.pvv.org/~randhol/
"i too once thought that when proved wrong that i lost somehow"
                               - i was hoping, alanis morisette




More information about the gtkada mailing list