• 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: Why is "." a decimal number? (NSScanner question)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why is "." a decimal number? (NSScanner question)


  • Subject: Re: Why is "." a decimal number? (NSScanner question)
  • From: Ondra Cada <email@hidden>
  • Date: Mon, 7 Jun 2004 16:54:42 +0200

Jim,

On 7.6.2004, at 16:09, Jim Rankin wrote:

> I certainly agree that "10." and ".3" are valid decimal numbers, but
> not ".mac", nor should it be interpreted as a 0 decimal number followed
> by "mac".

Presumed the string contains "a number followed by a text" (which is
what the usage of the scan methods implies), I think so.

It's a bit more arguable with "eMac" ;)))
---
Ondra Hada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Why is "." a decimal number? (NSScanner question) (From: Jim Rankin <email@hidden>)
 >Re: Why is "." a decimal number? (NSScanner question) (From: Ondra Cada <email@hidden>)
 >Re: Why is "." a decimal number? (NSScanner question) (From: Jim Rankin <email@hidden>)

  • Prev by Date: Re: GUI without IB
  • Next by Date: Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!)
  • Previous by thread: Re: Why is "." a decimal number? (NSScanner question)
  • Next by thread: NSImageView's images are invisible until clicked
  • Index(es):
    • Date
    • Thread