Format function on LiveCode 6.5.1

dunbarx at dunbarx at
Fri Jan 3 01:31:36 EST 2014

"0017" for both.  MacBook Air 10.6.8  LC 6.5.1

Interestingly I thought there was some sort of trick involved, as I copied and pasted your text into a new field. What came over was a block of black opaque "text", that I could not do a thing with. Pasting individual lines into msg worked fine. I deleted the field and tried another. No issue at all, so I guess it was not you, but rather a glitch in LC itself.


-----Original Message-----
From: Brahmanathswami <brahma at>
To: How to use LiveCode <use-livecode at>
Sent: Thu, Jan 2, 2014 9:03 pm
Subject: Re: Format function on LiveCode 6.5.1

Same result for both:


Mac OS X 10.9 Mavericks
LC: 6.5.1

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

Swasti Astu, Be Well!

Kauai's Hindu Monastery

use-livecode mailing list
use-livecode at
Please visit this url to subscribe, unsubscribe and manage your subscription 


More information about the Use-livecode mailing list