Troubleshooting
Problem
This document explains why the Runtime error '6' - Overflow - occurs during playback of an IBM® Rational® Robot GUI script, and what can be done to resolve that error.
Cause
A value has been assigned to a numeric variable that exceeds the range supported by that type of variable. For example, a value of 50000 is being assigned to a variable that is an integer. This can occur when data is read into the script from a file or an input box, or any other means by which a value can be assigned to a variable during runtime.
Resolving The Problem
Dimension the variable using a larger data type. For example, dimension the variable as a Long or a Variant instead of as an Integer.
To see the list of data types and the range for each, consult the SQABasic Reference
- Select Help > SQABasic Reference from Robot's menu
- Click the Index tab
- Type data types
- Select the 'table of' subtopic under the data types topic
- Click Display
Related Information
Historical Number
159863431
Was this topic helpful?
Document Information
More support for:
Rational Robot
Software version:
2001a, 2001a.04.00, 2002, 2002.05.00, 2002 Release 2, 2002.05.20, 2003, 2003.06.00, 2003.06.12, 2003.06.13, 2003.06.14
Operating system(s):
Windows
Document number:
329113
Modified date:
16 June 2018
UID
swg21132584