View Single Post
  #5   Spotlight this post!  
Unread 24-01-2003, 02:01
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Quote:
Originally posted by Noah
While the code I write at 4:00 am is a great deal more efficient and interesting than anything I write while under the influence of sleep, No-one (Myself included) can ever reason out just what I did.
You mean like this line taken directly from RoboEmu (comment included)?

Code:
*(unsigned int *)((int)out+i*sizeof(unsigned int))=result; //have fun figuring out this one

If this line ever fails, I'm going to have to delete it (and most of the surrounding function) and start over. It seemed like such a good idea at the time...
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php