Reply to post: Re: Any chance of a solution?

When customers try to be programmers: 'I want this CHANGED TO A ZERO ASAP'

Anonymous Coward
Anonymous Coward

Re: Any chance of a solution?

"[...] where the test is at the top of the loop. "

IIRC Pascal always executed a FOR loop once - even if the condition suggested the limit had already been reached. One of the Pascal "Common 10 mistakes" when moving to it from another language.

Always felt that "C" could have done with := rather than = for assignment. That would have prevented the = and == mistakes in C.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon