CGTalk > Software > Autodesk 3ds max > 3dsMax SDK and MaxScript
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 01-20-2004, 05:38 PM   #1
FatAssasin
Lord of the posts
 
FatAssasin's Avatar
James Haywood
TD/Cinematic Artist
Gas Powered Games
Seattle, USA
 
Join Date: Jul 2002
Posts: 502
Max doesn't know how to add

I don't know what's going on here, but when I enter this line into the MaxScript Listener window...

86495125 + 2111752563

It returns this result...

-2096719608

????

Using a calculator I get the correct result, which is...

2198247688

Does Max have trouble with large numbers? This type of incorrect math is messing up a script I'm trying to write. What's going on?
__________________
"It's not the eyes, but the glance - not the lips, but the smile..."

. . . ~ Visit my world ~ . . .
 
Old 01-20-2004, 06:51 PM   #2
FatAssasin
Lord of the posts
 
FatAssasin's Avatar
James Haywood
TD/Cinematic Artist
Gas Powered Games
Seattle, USA
 
Join Date: Jul 2002
Posts: 502
Never mind, I found the problem.

Quote:
The range of valid Integers in MAXScript is -2,147,483,648 to 2,147,483,647.
__________________
"It's not the eyes, but the glance - not the lips, but the smile..."

. . . ~ Visit my world ~ . . .
 
Old 01-17-2006, 06:00 AM   #3
CGTalk Moderation
Expert
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,478
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 12:46 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.