Path: utzoo!attcan!uunet!cbmvax!rutgers!apple!dan
From: dan@Apple.COM (Dan Allen)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Do integers stop at 2^30?
Message-ID: <17439@apple.Apple.COM>
Date: 20 Sep 88 20:22:39 GMT
References: <3047@pt.cs.cmu.edu>
Reply-To: dan@apple.com.UUCP (Dan Allen)
Distribution: na
Organization: Apple Computer Inc, Cupertino, CA
Lines: 18

In article <3047@pt.cs.cmu.edu> ns@cat.cmu.edu (Nicholas Spies) writes:
>Somewhere between 2^29 and 2^30 the integer divide 'div' in HyperTalk quits,
>at least in V1.2, with a dialog saying "Can't understand 1073741824."
I believe this bug has been fixed, but I thought it was fixed in 1.2.
Perhaps it is in a later version that it is fixed.  Could you send a one
line test case?

>IsADigit(c) -- return true if c is a digit
>IsALetter(c) -- returns true if c is A-Z, a-z
>...and even better...
>ParseNum(text) -- extract first number in text e.g. "fd234dfd" -> 234
>ParseTo(text,string) -- return text up to any character in string
>ParseFrom(text,string) -- return text from any character in string

Good ideas.  We'll see what we can do for 2.0...

Dan Allen
Apple