trying to make a list of numbers
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.