|
FYI 'Min 1' does ALMOST nothing!!!
Posted by Joe Johnson.   [PICTURE: SAME | NEW | HELP]
Engineer on team #47, Chief Delphi, from Pontiac Central High School and Delphi Automotive Systems.
Posted on 11/9/2000 6:37 AM MST
In Reply to: 'Min 0' does NOTHING!!! posted by Joe Johnson on 11/8/2000 8:55 PM MST:
Just another note about PBASIC.
'(A) MIN 1' is almost as bad as '(A) MIN 0'
While '(A) MIN 0' does nothing, '(A) MIN 1' does ALMOST nothing.
The problem is the same. Any time you believe that the result could go negative, you have to do something to make the MIN operator produce the expected outcome.
Good luck.
Joe J.
__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
|