Question: Compatibility ?
Posted: Thu Aug 17, 2017 4:58 pm
Hi Leonid,
Just to be completely clear about this, the option to have 1-based arrays is completely separated from the dialect setting, so you can use it as you like (on or off) in any dialect as you wish. Also it is currently enabled by default, so by default arrays are always 1-based in x#.
Robert's post was about doing a similar thing also on collections/indexers, which can look a bit like arrays due to the similar syntax used, but are very different under the hood. In any case, that would only affect new code written in x# that can use collections. In VO we do not have such things, so this discussion does not affect VO-compatibility with arrays, as those will still always be 1-based by default, as in VO.
Chris
Just to be completely clear about this, the option to have 1-based arrays is completely separated from the dialect setting, so you can use it as you like (on or off) in any dialect as you wish. Also it is currently enabled by default, so by default arrays are always 1-based in x#.
Robert's post was about doing a similar thing also on collections/indexers, which can look a bit like arrays due to the similar syntax used, but are very different under the hood. In any case, that would only affect new code written in x# that can use collections. In VO we do not have such things, so this discussion does not affect VO-compatibility with arrays, as those will still always be 1-based by default, as in VO.
Chris