>Hi,
>Good idea about using the implicit cast ! The stupid thing is that I spent a chunk of time the day before I was doing this writing implicit casts between fairly complex types - yet it never occurred to me to use it in a simple case like this!
>
>Also, in this particular case the result of subtraction and addition operations is not important - it's only really neccessary to ensure that the zero value is skipped. So the cast is the only bit I needed to have this work as required.
>Thank you for the help, Best,
>Viv
Well - it did not occur to me either prior to looking back at some code I wrote months ago
Switching between vs and vfp does not help, and reading helps only a bit - I forget what I read, etc
Gregory