R
Roedy Green
that was true in 1970, but it may have evolved since then.
I recall accidentally redefining the integer 1 in a subroutine when I
had passed the literal 1 as a parameter.
back then this Java equivalent was a no no:
void amethod( int i );
{
i++;
}
amethod( 1 );
you would actually change the constant 1 to be 2 for everyone.
--
Bush crime family lost/embezzled $3 trillion from Pentagon.
Complicit Bush-friendly media keeps mum. Rumsfeld confesses on video.
http://www.infowars.com/articles/us/mckinney_grills_rumsfeld.htm
Canadian Mind Products, Roedy Green.
See http://mindprod.com/iraq.html photos of Bush's war crimes
I recall accidentally redefining the integer 1 in a subroutine when I
had passed the literal 1 as a parameter.
back then this Java equivalent was a no no:
void amethod( int i );
{
i++;
}
amethod( 1 );
you would actually change the constant 1 to be 2 for everyone.
--
Bush crime family lost/embezzled $3 trillion from Pentagon.
Complicit Bush-friendly media keeps mum. Rumsfeld confesses on video.
http://www.infowars.com/articles/us/mckinney_grills_rumsfeld.htm
Canadian Mind Products, Roedy Green.
See http://mindprod.com/iraq.html photos of Bush's war crimes