<r>Thank you, Chris.<br/>
<br/>
We are about to migrate a project from Vulcan to XSharp. We are using Vn2Ado, but Vn2Ado is using Vulcan.__Array. So we are getting a lot of compiler errors now. e.g:
<CODE><s>[code]</s>Cannot apply indexing with [] to an expression of type 'Vulcan.__Array'<e>[/code ...
Search found 2 matches
- Wed Mar 16, 2022 9:24 am
- Forum: VO & Vulcan
- Topic: Type Conversion from Vulcan.__Array to XSharp.__Array
- Replies: 4
- Views: 1971
- Wed Mar 16, 2022 8:09 am
- Forum: VO & Vulcan
- Topic: Type Conversion from Vulcan.__Array to XSharp.__Array
- Replies: 4
- Views: 1971
Type Conversion from Vulcan.__Array to XSharp.__Array
<r>Hello,<br/>
<br/>
is there a way to convert a Vulcan.__Array to an XSharp.__Array in XSharp?<br/>
<br/>
I tried:
<CODE><s>[code]</s>xs_array := (ARRAY)vn_array<e>[/code]</e></CODE>
but that results in a compiler error <br/>
<I><s>[i]</s>Cannot convert type 'Vulcan.__Array' to 'ARRAY'<e>[/i]</e ...
<br/>
is there a way to convert a Vulcan.__Array to an XSharp.__Array in XSharp?<br/>
<br/>
I tried:
<CODE><s>[code]</s>xs_array := (ARRAY)vn_array<e>[/code]</e></CODE>
but that results in a compiler error <br/>
<I><s>[i]</s>Cannot convert type 'Vulcan.__Array' to 'ARRAY'<e>[/i]</e ...