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

Bitwise operators?

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
Camdog




Joined: 08 Aug 2003
Posts: 606

PostPosted: Wed Jul 19, 2006 9:26 am    Post subject: Bitwise operators? Reply with quote

Are there bitwise operators in hamsterspeak?

And, if not, would this be a difficult thing to implement in future versions? They'd be real handy for things that basically require bitwise operations, like manipulating wallmap data on the fly.
Back to top
View user's profile Send private message
Joe Man




Joined: 21 Jan 2004
Posts: 742
Location: S. Latitude 47°9', W. Longitude 123°43'

PostPosted: Wed Jul 19, 2006 10:13 am    Post subject: Reply with quote

I'm not so keen on this. Are you asking for plotscripts to change the actual RPG file? Just so I understand.
_________________
"Everyone has 200,000 bad drawings in them, the sooner you get them out the better."
~Charles Martin Jones

Last edited by Joe Man on Fri Dec 13, 1957 1:21 am; edited 2,892 time in total
Back to top
View user's profile Send private message Send e-mail
Camdog




Joined: 08 Aug 2003
Posts: 606

PostPosted: Wed Jul 19, 2006 10:18 am    Post subject: Reply with quote

No, I'd like bitwise operators because they'd work well with already existing hamsterspeak commands. Specifically, write pass block and read pass block.
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: Wed Jul 19, 2006 12:36 pm    Post subject: Did you try? Reply with quote

The existing and, or, and xor operators are already bitwise.

Mike recently added logical operators && and || and ^^ because there were certain situations where using the bitwise operators was causing counter-intitive results.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Camdog




Joined: 08 Aug 2003
Posts: 606

PostPosted: Wed Jul 19, 2006 1:26 pm    Post subject: Reply with quote

Aha! Thanks for clearing that up.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can 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