fbpx
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: strong typed arrays in VO dialect

strong typed arrays in VO dialect 8 months 1 week ago #6786

  wriedmann's Avatar Topic Author wriedmann Offline Posts: 1631
Hello,

currently I'm working mostly in VO dialect, and I don't think this will change the next years.

But when working with legacy code, it would be very welcome to use strong typed arrays. Is there any possibility to make them available, even as different datatype, in the VO dialect?

Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
This email address is being protected from spambots. You need JavaScript enabled to view it.
www.riedmann.it - docs.xsharp.it

Please Log in or Create an account to join the conversation.

strong typed arrays in VO dialect 8 months 1 week ago #6789

  robert's Avatar robert Offline Posts: 1048
Wolfgang,
What exactly do you mean with "Strong typed arrays".

I think we already support them.
For example

local aString as STRING[]


Robert
XSharp Development Team
The Netherlands
This email address is being protected from spambots. You need JavaScript enabled to view it.

Please Log in or Create an account to join the conversation.

Last edit: by robert.

strong typed arrays in VO dialect 8 months 1 week ago #6790

  wriedmann's Avatar Topic Author wriedmann Offline Posts: 1631
Hi Robert,

no, I mean this form:
local aData as array of int

In the Core dialect it compiles, in the VO dialect the compiler says
error XS9007: Feature 'ARRAY OF <type>' is not available in the selected dialect VO

Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
This email address is being protected from spambots. You need JavaScript enabled to view it.
www.riedmann.it - docs.xsharp.it

Please Log in or Create an account to join the conversation.

strong typed arrays in VO dialect 8 months 1 week ago #6792

  robert's Avatar robert Offline Posts: 1048
Wolfgang,

Mmmm, strange. Does it work in the Vulcan dialect ?

Robert
XSharp Development Team
The Netherlands
This email address is being protected from spambots. You need JavaScript enabled to view it.

Please Log in or Create an account to join the conversation.

strong typed arrays in VO dialect 8 months 1 week ago #6794

  wriedmann's Avatar Topic Author wriedmann Offline Posts: 1631
Hi Robert,

similar message:
error XS9007: Feature 'ARRAY OF <type>' is not available in the selected dialect Vulcan

Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
This email address is being protected from spambots. You need JavaScript enabled to view it.
www.riedmann.it - docs.xsharp.it

Please Log in or Create an account to join the conversation.

strong typed arrays in VO dialect 8 months 1 week ago #6795

  robert's Avatar robert Offline Posts: 1048
Wolfgang

I guess you are using the Vulcan runtime.
In that case the error message us misleading.
This needs the X# runtime.
If you are using the x# runtime then this is a bug.

Robert
XSharp Development Team
The Netherlands
This email address is being protected from spambots. You need JavaScript enabled to view it.

Please Log in or Create an account to join the conversation.

strong typed arrays in VO dialect 8 months 1 week ago #6797

  wriedmann's Avatar Topic Author wriedmann Offline Posts: 1631
Hi Robert,

stupid me!

Of course, your guessing was right.

I'm very sorry!

Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
This email address is being protected from spambots. You need JavaScript enabled to view it.
www.riedmann.it - docs.xsharp.it

Please Log in or Create an account to join the conversation.

  • Page:
  • 1