Closed GoogleCodeExporter closed 9 years ago
Scratch that, the error happened in a cout:
cout `max=$max(1,2)`;
FWIW, the ruby or C#, or even C printf syntax works very well for this:
"#{max(1,2)}" - ruby
"{1}",max(1,2) - C#
I.e. the `` operator might need a delimeter to recognize the start and end of
the format expression.
Original comment by Conrad.S...@gmail.com
on 26 Oct 2010 at 12:42
does "cout `max=$(max(1,2))`;" work for you?
Original comment by mind...@gmail.com
on 26 Oct 2010 at 10:38
Yes, that works
Original comment by Conrad.S...@gmail.com
on 27 Oct 2010 at 7:03
confirmed that this works; closing.
Original comment by mind...@gmail.com
on 27 Oct 2010 at 7:40
Original comment by mind...@gmail.com
on 18 Jan 2011 at 4:13
Original issue reported on code.google.com by
Conrad.S...@gmail.com
on 26 Oct 2010 at 12:34