Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

Slice Arrays and Linked Lists
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Castle Paradox Forum Index -> The Arcade
View previous topic :: View next topic  
Author Message
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Fri Nov 12, 2010 2:19 pm    Post subject: Reply with quote

Definitely 0 indexed.

I am of the opinion that 1 indexing is crazy. The only advantage of 1 indexing is that your last index is equal to your element count, and I could never understand why anybody thinks that is an advantage anyway ;)
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Bagne
ALL YOUR NUDIBRANCH ARE BELONG TO GASTROPODA




Joined: 19 Feb 2003
Posts: 518
Location: Halifax

PostPosted: Fri Nov 12, 2010 6:51 pm    Post subject: Reply with quote

I have no preference, but I'm wondering - why do you prefer 0 indexing?
_________________
Working on rain and cloud formation
Back to top
View user's profile Send private message
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Fri Nov 12, 2010 7:53 pm    Post subject: Reply with quote

My goddess demands it as a religious observance.

No, actually, the math for folding a 1-d array into an n-d array is simpler when you zero-index.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Bagne
ALL YOUR NUDIBRANCH ARE BELONG TO GASTROPODA




Joined: 19 Feb 2003
Posts: 518
Location: Halifax

PostPosted: Fri Nov 12, 2010 8:02 pm    Post subject: Reply with quote

All but two of my goddesses proclaim GOTO as mandatory.
Also, object-oriented programming is considered a form of idolatry.
_________________
Working on rain and cloud formation
Back to top
View user's profile Send private message
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Fri Nov 12, 2010 8:43 pm    Post subject: Reply with quote

QB/FB strings are 1-indexed (even though arrays are 0-indexed) and that frustrates me horribly.

Everything else in the OHR (expect for strings.... arrrgghhh!!) is already 0-indexed.

Strings are also arrays, and most of the old string functions will become obsolete, so in effect strings will change to 0-indexed.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
Bagne
ALL YOUR NUDIBRANCH ARE BELONG TO GASTROPODA




Joined: 19 Feb 2003
Posts: 518
Location: Halifax

PostPosted: Sat Nov 13, 2010 8:07 pm    Post subject: Reply with quote

Will floating point come with the new interpreter?

I may have just hit an integer-roundoff-error-wall in my cloud simulations.
_________________
Working on rain and cloud formation
Back to top
View user's profile Send private message
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Thu Nov 18, 2010 6:29 am    Post subject: Reply with quote

There's little you can't do with fixed point arithmetric. Recall von Neumann said floating point was for lazy programmers ;)

That said, yes, floating point will be in the new interpreter. In fact right now it's practically the only thing implemented.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
Bagne
ALL YOUR NUDIBRANCH ARE BELONG TO GASTROPODA




Joined: 19 Feb 2003
Posts: 518
Location: Halifax

PostPosted: Thu Nov 18, 2010 6:40 am    Post subject: Reply with quote

Yeah, I actually think I thought of a work around as of a few days ago :-)
_________________
Working on rain and cloud formation
Back to top
View user's profile Send private message
Bagne
ALL YOUR NUDIBRANCH ARE BELONG TO GASTROPODA




Joined: 19 Feb 2003
Posts: 518
Location: Halifax

PostPosted: Mon Sep 17, 2012 1:46 pm    Post subject: Reply with quote

Wat.

Silly robot thinks it's people.
_________________
Working on rain and cloud formation
Back to top
View user's profile Send private message
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Mon Sep 17, 2012 1:55 pm    Post subject: Reply with quote

Yeah, the spam robots have been pummeling castleparadox today :(

I'm sure InferiorMinion will clean-up the latest batch of them as soon as he notices.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> The Arcade All times are GMT - 8 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group