Status: New Owner: ---- Labels: Version Type-Bug Priority-High OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any
New issue 403 by uale...@gmail.com: Format works differently between gambas2 and gambas3, a space is added http://code.google.com/p/gambas/issues/detail?id=403 1) Describe the problem. The format output is different between gambas2 (2.24.0) and gambas3 (3.4.0). I am using the following 2 lines of code: sTemp = "5.5" Print "Temp=" & Format(CStr(sTemp), "#0.#") & ";" On gambas2 it outputs: Temp=5.5; On gambas3 it outputs: Temp= 5.5; ^ 1 additional space added in front of the formatted sTemp variable 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: 3.4.0 Operating system: Linux Distribution: LUbuntu Architecture: x86 GUI component: QT4 Desktop used: LXDE 3) Provide a little project that reproduces the bug or the crash. Attached is the example "Format-Difference.tar.gz" 4) If your project needs a database, try to provide it, or part of it. 5) Explain clearly how to reproduce the bug or the crash. 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: if you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! Attachments: Format-Difference.tar.gz 11.9 KB ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user