• 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
trying to make a list of numbers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

trying to make a list of numbers


  • Subject: trying to make a list of numbers
  • From: Richard Allaway <email@hidden>
  • Date: Thu, 08 Jul 2004 19:06:09 -0700

Persons of the applescript list,

I'm new to this applescript business. Could anyone explain this to me?

set theText to "30.14
-0.25
-0.82
30.13
30.68
29.95
19.13
34.19" as Unicode text
log every word of theText

-- (*30.14, 30.13, 30.68, 29.95, 19.13, 34.19*)

set theText to "30.14
-0.25
-0.82
30.13
30.68
29.95
19.13
34.19" as string
log every word of theText

-- (*30.14, 0.25, 0.82, 30.13, 30.68, 29.95, 19.13, 34.19*)

Obviously, I like the second version better, but those minus signs are kinda important. What should I do to get a list of all the numbers?

Please help!
Thanks

Richard
_______________________________________________
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: trying to make a list of numbers
      • From: Emmanuel <email@hidden>
    • Re: trying to make a list of numbers
      • From: David Andrews <email@hidden>
    • Re: trying to make a list of numbers
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: Script Editor vs command line = different results
  • Next by Date: Re: trying to make a list of numbers
  • Previous by thread: Re: Script Editor vs command line = different results
  • Next by thread: Re: trying to make a list of numbers
  • Index(es):
    • Date
    • Thread