dim selectedString as int
selectedString=1
selectedString = selectedString +1
result as 2.0
so
if selectedString =7 will never fire up
if selectedString =7.0 will work
However is you passing it on sub it wil have the right value
Sub DrawStringColor(selString As Int)
so if you out it into another variable then it will work ok
selString shows 7
grCor
selectedString=1
selectedString = selectedString +1
result as 2.0
so
if selectedString =7 will never fire up
if selectedString =7.0 will work
However is you passing it on sub it wil have the right value
Sub DrawStringColor(selString As Int)
so if you out it into another variable then it will work ok
selString shows 7
grCor