Default justification of integer values in Aubit 4gl vs Informix 4gl

Gjerstad, Øyvind <[email protected]> Thu, 25 Feb 2021 11:59:10 +0000
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <[email protected]>
Just noticed that the default formatting (left/right justification) of integer values differ between Informix 4gl and Aubit 4gl. While I would normally prefer the Aubit way, it is not compatible with how it works in Informix 4gl, and it breaks a number of our flat file integrations.

Consider this program:


main

  define i1 int, s1 char(15)


  let i1 = 1

  let s1 = "[", i1, "]"

  display "012345678901234567890"

  display s1

end main

Output with Aubit 4gl:

012345678901234567890

[1          ]

Output with Informix 4gl:

012345678901234567890

[          1]



We can probably fix this with the USING operator, but I would like to know if there is an environment variable or runtime flag that can be used instead.
Thanks in advance,
--
Øyvind Gjerstad

_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss