Assignment in test: OK?

Kartik Subbarao subbarao at phoenix.Princeton.EDU
Wed Sep 19 22:35:04 AEST 1990


>In article <Sep.14.10.39.43.1990.17114 at sparky.rutgers.edu> gaynor at sparky.rutgers.edu (Silver) writes:
>>similar.  If I had my way, assignment would be `<-' and equality, `='.  Hmm...
>
>So 
>	if (a<-1) {
>		...
>	}
>takes on a whole new meaning ... (and always succeeds!) IMHO this is even
>more confusing than the =/== debate.


My My -- You must be an S programmer, where <- IS the assignment operator.
But now how do I say ``If a is less then -1''? 


			-Kartik




subbarao@{phoenix,bogey or gauguin}.Princeton.EDU -|Internet
kartik at silvertone.Princeton.EDU (NeXT mail)       -|	
subbarao at pucc.Princeton.EDU		          - Bitnet



More information about the Comp.lang.c mailing list