• 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
A problem with signs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: A problem with signs
      • From: Christopher Nebel <email@hidden>
    • Re: A problem with signs
      • From: Jon Rosen <email@hidden>
    • Re: A problem with signs
      • From: Malcolm Fitzgerald <email@hidden>
  • Prev by Date: Re: To shell or not to shell (was Re: URL Access Redux)
  • Next by Date: Moving selected messages from one entourage folder to another
  • Previous by thread: RE: To shell or not to shell (was Re: URL Access Redux)
  • Next by thread: Re: A problem with signs
  • Index(es):
    • Date
    • Thread