On Samstag, 12. Februar 2005, at 19:20 Uhr (GMT -0000), kai wrote:
> set b to text -2 thru -1 of (100 + a + 1 as string)
Ah! Interesting.
More generally:
on pad(theNumber, thePower)
return text -thePower thru -1 of ((((10 ^ thePower) as integer) + theNumber) as string)
end pad
pad(7, 3)
Paul
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
This email sent to email@hidden