So three sources: 1 0 1
On 29 sept. 07, at 18:19, chaosmoon wrote:
> So three sources: 1 0 1
> become: 101
sprintf allows you to concatenate anything: [sprintf %i%i%i] will do
the job (%i, %d, %ld means integer).
pack or pak?
On 9/29/07, chaosmoon
yep, sprintf works like a charm. Drops leading zeros, but i can live with that.
On 29 sept. 07, at 18:44, chaosmoon wrote:
> yep, sprintf works like a charm. Drops leading zeros, but i can
> live with that.
You can add leading zero with [sprintf symout %.2d%.2d%.2d].
yeah, sorry… wasn’t paying that much attention. I second the sprintf.
thanks for your time.
Log in to reply
SUBSCRIBE TO OUR NEWSLETTER
C74 RSS Feed | © Copyright Cycling '74 | Terms & Conditions