Thanks for the info on floats.

Another question from the manual (I'm slowing reading through it):

Want to make sure I'm understanding this example from Strucs under the programming tab in the manual.

Code:
function spot_init(SPOT* spot) 
{ 
  if (!spot) return; // prevent crash when an empty pointer is passed
  spot.x = 1; 
  spot.y = 1; 
}
...
SPOT myspot; // creates an uninitalized SPOT struct named "myspot"
...
spot_init(myspot); // passes a pointer to myspot



It's my belief function spot_init sets myspot.x to 1 and myspot.y to 1 when it's ran with (myspot) as an argument?

Last edited by kmega00; 10/10/13 20:57.