skaller wrote: > Maybe .. > > "flx::rtl::strutil::flx_asprintf(const_cast<char*>($1.c_str()),$T2)" > ^^ > > should be $2, not $T2 >
That fixed it. I'll change both the (string * t) version and the (cstring * t) version. What does $T2 do in this case? I haven't seen that used before, other than the other vsprintf. >> fun format_real (t:double, precision:int) : string = { >> var format = f"%%.%ig" precision; >> > ^^^^^^ > > Invalid format, you have to use Lg for long double. > Good catch. I'll make sure that's fixed when I check in my stuff. -e ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Felix-language mailing list Felix-language@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/felix-language