Format function on LiveCode 6.5.1

Martin Baxter mblivecode at harbourhosting.co.uk
Thu Jan 2 19:29:54 EST 2014


Livecode 4.5 Ubuntu 10.0.4
put format("%04s",17) >> "  17"
put format("%04d",17) >> "0017"

Livecode 6.1 Ubuntu 10.0.4
put format("%04s",17) >> "  17"
put format("%04d",17) >> "0017"

Livecode 6.1 Debian 7.2
put format("%04s",17) >> "  17"
put format("%04d",17) >> "0017"

Livecode 6.5.1 Xubuntu 13.10
put format("%04s",17) >> "  17"
put format("%04d",17) >> "0017"



Martin Baxter

On 02/01/14 23:21, Alejandro Tejada wrote:
> Hi All,
> 
> Could you post your results of these code snippets?
> 
> Write in the message box:
> put format("%04s",17)
> Write down the result and test this:
> put format("%04d",17)
> 
> Post both results, your LiveCode version 
> and your Operating System.
> 
> Thanks in advance!
> 
> Al





More information about the Use-livecode mailing list