Reply to post: SUCCESS would then be a boolean.

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

Lysenko

SUCCESS would then be a boolean.

What would change is the code would visually scan as:

while True do

begin....

...which is obviously suspiciously infinite. When you check the block and find no break, goto or exception you have the bug. No possibility of SUCCESS changing value in a pass by reference function.

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