String and non-String comparisons

Comparing a non-String, for example an integer (Int), to a String is a problem specific to each application.
If your Jacl script contains an expression with a mixture of string and integer types then you need to manually modify the converted Jython code to use matching types. Otherwise, the expected conditions will not match. A common source of this problem is that all command-line argv parameters are Strings:
JACL:   set argvParam [lindex $argv 0]  
JACL:   while {i <= argvParam} {
==>
JYTHON: argvParam = sys.argv[0]
JYTHON: while (i <= argvParam):
Solution
Where applicable, manually insert explicit type conversion before the comparison operations:
JYTHON: argvParam = int(sys.argv[0])  # manually modified
JYTHON: while (i <= argvParam):

Feedback