Richard.
Although HC didn't support negative integers in chunk ranges,
Oh yeah? (I wonder how many others here will be interested in this). So in HC starting with :
Code: Select all
on mouseUp
put "111 222 333 444" into fld 1
wait 30
put "xxx" into word -1 of fld 1
end mouseUp
gives: "xxx"
gives "111 222 333 xxx"
gives "111 222 xxx 444" --Works!
gives "111 222 333 xxx" --Same as "-2"!
Now then:
Code: Select all
put "xxx" into word -4 to -2 of fld 1
gives "111 222 xxx 444" --!
Other combinations of negative values give odd results, never an error, though. I do not want to even try to figure out what HC might be doing with those two values.
I saw this with a typo in LC. I reversed the two values and got a weird result.
Craig