On Wednesday, September 08, 2010, Nate Nystrom wrote: > They're lowercase: 'true' and 'false'. > > Nate > > On Wed, Sep 8, 2010 at 07:53, Christoph Pospiech wrote: > > Hi, > > > > I was trying to write the following line. > > > > val debug:Boolean = ( size < 10 ? TRUE : FALSE ); > > > > The compiler (X10 v. 2.0.6) complained about this as follows. > > Multiple messages at this line. > > -Could not find field or local variable > > "TRUE". > > -Could not find field or local variable > > "FALSE". > > > > The following statement works, but I would consider this a work around > > rather than a solution. > > > > val debug:Boolean = ( size < 10 ? (1==1) : (0==1) ); > > > > What I am missing here ?
Thanks for the hint. I opened JIRA X10/XTENLANG-1796 to have the documentation updated with this information. -- Mit freundlichen Grüßen / Kind regards Dr. Christoph Pospiech High Performance & Parallel Computing Phone: +49-351 86269826 Mobile: +49-171-765 5871 E-Mail: christoph.pospi...@de.ibm.com ------------------------------------- IBM Deutschland GmbH Vorsitzender des Aufsichtsrats: Erich Clementi Geschäftsführung: Martin Jetter (Vorsitzender), Reinhard Reschke, Christoph Grandpierre, Klaus Lintelmann, Michael Diemer, Martina Koederitz Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB 14562 WEEE-Reg.-Nr. DE 99369940 ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users