Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > Code Gallery
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-26-2008, 09:49 AM
Tolnaftate2004 Tolnaftate2004 is offline
penguin.
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 534
Tolnaftate2004 is a jewel in the roughTolnaftate2004 is a jewel in the rough
Send a message via AIM to Tolnaftate2004
Quote:
Originally Posted by smirt362 View Post
I don't pretend to understand any of this, it's basically like me looking at Aramaic and then trying to decipher a meaning, but what if you want to use numbers that have more than 1 digit...say a 26 or 312?
Post-fixed actually looks like "5,3,+" for in-fixed "5+3," so it will work fine with larger numbers.
__________________
◕‿‿◕ · pfa · check yer syntax! · src

Killa Be: when i got that locker in 6th grade the only thing in it was a picture of a midget useing a firehose :/
Reply With Quote
  #2  
Old 03-26-2008, 05:07 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Quote:
Originally Posted by Tolnaftate2004 View Post
Post-fixed actually looks like "5,3,+" for in-fixed "5+3," so it will work fine with larger numbers.
Well if you use a post fixed calculator (I've never sene one in my life, just was told about them from my C++ teacher), it just has the standard operator keys and an "Enter" key. Since each operator acts as an equals, the "Enter" key is only for telling that the number you have entered is the entire number and you are going to enter a different number. Essentially that is the whole comma thing like PFA said. I just used an array for post-fix to make things easier.

Quote:
Originally Posted by smirt362 View Post
I don't pretend to understand any of this, it's basically like me looking at Aramaic and then trying to decipher a meaning, but what if you want to use numbers that have more than 1 digit...say a 26 or 312?
Written out though that would look like:
26 312 +
__________________
Do it with a DON!
Reply With Quote
  #3  
Old 03-27-2008, 05:32 AM
smirt362 smirt362 is offline
Tee Hee
smirt362's Avatar
Join Date: Feb 2005
Location: Texas
Posts: 2,101
smirt362 has a brilliant futuresmirt362 has a brilliant futuresmirt362 has a brilliant futuresmirt362 has a brilliant futuresmirt362 has a brilliant futuresmirt362 has a brilliant futuresmirt362 has a brilliant future
Send a message via AIM to smirt362 Send a message via MSN to smirt362
Quote:
Originally Posted by zokemon View Post
Written out though that would look like:
26 312 +
Ooooh, I see
__________________

Don Hertzfeldt <3
Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:16 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.