[Gambas-user] Issue 403 in gambas: Format works differently between gambas2 and gambas3, a space is added

gambas at ...2524... gambas at ...2524...
Tue Feb 5 10:24:36 CET 2013


Status: New
Owner: ----
Labels: Version Type-Bug Priority-High OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 403 by uAle... at ...626...: 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





More information about the User mailing list