• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: 1 to 001 & the duplicate command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 1 to 001 & the duplicate command


  • Subject: Re: 1 to 001 & the duplicate command
  • From: Bill Hoffman <email@hidden>
  • Date: Thu, 30 May 2002 21:34:44 -0700

On Thursday, May 30, 2002, at 02:06 PM, Stephen Swift wrote:

I was just curious if there
is a coercion which allows a number to have leading zeros (by default
AppleScript changes 001 to 1).


set num to 1
set formattedNum to text -3 thru end of ("000" & num)


--
Bill Hoffman
email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: 1 to 001 & the duplicate command
      • From: Paul Berkowitz <email@hidden>
References: 
 >1 to 001 & the duplicate command (From: Stephen Swift <email@hidden>)

  • Prev by Date: Re: Write a prefs file
  • Next by Date: Re: 1 to 001 & the duplicate command
  • Previous by thread: Re: 1 to 001 & the duplicate command
  • Next by thread: Re: 1 to 001 & the duplicate command
  • Index(es):
    • Date
    • Thread