A problem with signs
A problem with signs
- Subject: A problem with signs
- From: Carl Anderson <email@hidden>
- Date: Tue, 23 May 2006 00:35:48 -0400
I am trying to write an Applescript but am having a problem with "-" signs.
This is a sample program that contains the problem
set x to "-0.1234"
set y to first word of x
display dialog x & " " & y
bleThe program returns -0.1234 for x but returns a (+)0.1234 for y. I have asked for the first character of x only to get a "0" instead of a "-".
Thanks in advance
Carl Anderson
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden