Checks if the end value for parameter steping is defined correctly. Called by **instruction.checkStep()** and by **instruction.stepStop( )**.
(self)
| 973 | return |
| 974 | |
| 975 | def checkStepStop(self): |
| 976 | """ |
| 977 | Checks if the end value for parameter steping is defined correctly. |
| 978 | |
| 979 | Called by **instruction.checkStep()** and by **instruction.stepStop(<stepStop>)**. |
| 980 | """ |
| 981 | if self.stepStop == None: |
| 982 | self.errors += 1 |
| 983 | print("Error: missing stepStop value.") |
| 984 | else: |
| 985 | value = float(_checkNumber(self.stepStop)) |
| 986 | if value == None: |
| 987 | self.errors += 1 |
| 988 | print("Error: cannot determine numeric value of stepStop.") |
| 989 | else: |
| 990 | self.stepStop = value |
| 991 | return |
| 992 | |
| 993 | def setStepNum(self, stepNum): |
| 994 | """ |
no test coverage detected